pub struct Exec<F, A, R>{ /* private fields */ }Implementations§
Trait Implementations§
Source§impl<F, A, R> Message for Exec<F, A, R>
impl<F, A, R> Message for Exec<F, A, R>
type Result = R
fn into_envelope( self, envelope_type: EnvelopeType, ) -> Result<Envelope<Self>, MessageWrapErr>
fn as_bytes(&self) -> Result<Vec<u8>, MessageWrapErr>
fn from_envelope(envelope: Envelope<Self>) -> Result<Self, MessageUnwrapErr>
fn from_bytes(_: Vec<u8>) -> Result<Self, MessageUnwrapErr>
fn read_remote_result(_: Vec<u8>) -> Result<Self::Result, MessageUnwrapErr>
fn write_remote_result(_res: Self::Result) -> Result<Vec<u8>, MessageWrapErr>
fn name(&self) -> &'static str
fn type_name() -> &'static strwhere
Self: Sized,
Auto Trait Implementations§
impl<F, A, R> Freeze for Exec<F, A, R>where
F: Freeze,
impl<F, A, R> RefUnwindSafe for Exec<F, A, R>where
F: RefUnwindSafe,
A: RefUnwindSafe,
impl<F, A, R> Send for Exec<F, A, R>
impl<F, A, R> Sync for Exec<F, A, R>
impl<F, A, R> Unpin for Exec<F, A, R>
impl<F, A, R> UnsafeUnpin for Exec<F, A, R>where
F: UnsafeUnpin,
impl<F, A, R> UnwindSafe for Exec<F, A, R>where
F: UnwindSafe,
A: UnwindSafe,
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