Struct canadensis::ResponseToken
source · [−]pub struct ResponseToken<T: Transport> { /* private fields */ }
Expand description
A token from a request that is needed to send a response
Trait Implementations
sourceimpl<T: Transport> Clone for ResponseToken<T> where
T::NodeId: Clone,
T::TransferId: Clone,
T::Priority: Clone,
impl<T: Transport> Clone for ResponseToken<T> where
T::NodeId: Clone,
T::TransferId: Clone,
T::Priority: Clone,
Auto Trait Implementations
impl<T> RefUnwindSafe for ResponseToken<T> where
<T as Transport>::NodeId: RefUnwindSafe,
<T as Transport>::Priority: RefUnwindSafe,
<T as Transport>::TransferId: RefUnwindSafe,
impl<T> Send for ResponseToken<T> where
<T as Transport>::NodeId: Send,
<T as Transport>::Priority: Send,
<T as Transport>::TransferId: Send,
impl<T> Sync for ResponseToken<T> where
<T as Transport>::NodeId: Sync,
<T as Transport>::Priority: Sync,
<T as Transport>::TransferId: Sync,
impl<T> Unpin for ResponseToken<T> where
<T as Transport>::NodeId: Unpin,
<T as Transport>::Priority: Unpin,
<T as Transport>::TransferId: Unpin,
impl<T> UnwindSafe for ResponseToken<T> where
<T as Transport>::NodeId: UnwindSafe,
<T as Transport>::Priority: UnwindSafe,
<T as Transport>::TransferId: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more