Struct dharitri_wasm::types::AsyncCall
source · pub struct AsyncCall<SA>where
SA: SendApi + 'static,{ /* private fields */ }Implementations§
source§impl<SA> AsyncCall<SA>where
SA: SendApi + 'static,
impl<SA> AsyncCall<SA>where
SA: SendApi + 'static,
pub fn with_callback(self, callback: CallbackCall) -> Self
Trait Implementations§
source§impl<SA> EndpointResult for AsyncCall<SA>where
SA: SendApi + 'static,
impl<SA> EndpointResult for AsyncCall<SA>where
SA: SendApi + 'static,
source§impl<SA> TypeAbi for AsyncCall<SA>where
SA: SendApi + 'static,
impl<SA> TypeAbi for AsyncCall<SA>where
SA: SendApi + 'static,
fn type_name() -> String
source§fn provide_type_descriptions<TDC: TypeDescriptionContainer>(_: &mut TDC)
fn provide_type_descriptions<TDC: TypeDescriptionContainer>(_: &mut TDC)
A type can provide more than its own description.
For instance, a struct can also provide the descriptions of the type of its fields.
TypeAbi doesn’t care for the exact accumulator type,
which is abstracted by the TypeDescriptionContainer trait.
Auto Trait Implementations§
impl<SA> RefUnwindSafe for AsyncCall<SA>
impl<SA> Send for AsyncCall<SA>
impl<SA> Sync for AsyncCall<SA>
impl<SA> Unpin for AsyncCall<SA>
impl<SA> UnwindSafe for AsyncCall<SA>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more