We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using like this #[ferment_macro::export] pub trait TransportClient: Send + Sized { type Error: CanRetry + Send; fn with_uri(uri: Uri) -> Self; } It creates vtable like this: pub struct TransportClient_VTable { pub with_uri: unsafe extern "C" fn(uri: *mut crate::fermented::types::asyn::query::Uri) -> *mut crate::fermented::types::asyn::query::Self, }
#[ferment_macro::export] pub trait TransportClient: Send + Sized { type Error: CanRetry + Send; fn with_uri(uri: Uri) -> Self; }
pub struct TransportClient_VTable { pub with_uri: unsafe extern "C" fn(uri: *mut crate::fermented::types::asyn::query::Uri) -> *mut crate::fermented::types::asyn::query::Self, }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When using like this
#[ferment_macro::export] pub trait TransportClient: Send + Sized { type Error: CanRetry + Send; fn with_uri(uri: Uri) -> Self; }
It creates vtable like this:
pub struct TransportClient_VTable { pub with_uri: unsafe extern "C" fn(uri: *mut crate::fermented::types::asyn::query::Uri) -> *mut crate::fermented::types::asyn::query::Self, }
The text was updated successfully, but these errors were encountered: