pub struct Resp<T> { /* private fields */ }
Expand description
A zero-sized marker type. Its job is to mark the expected response type for each worker op.
Implementations§
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for Resp<T>
impl<'de, T> Deserialize<'de> for Resp<T>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<T> Freeze for Resp<T>
impl<T> RefUnwindSafe for Resp<T>where
T: RefUnwindSafe,
impl<T> Send for Resp<T>where
T: Send,
impl<T> Sync for Resp<T>where
T: Sync,
impl<T> Unpin for Resp<T>where
T: Unpin,
impl<T> UnwindSafe for Resp<T>where
T: 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