pub struct Effect<K> { /* private fields */ }Expand description
One indivisible response-owner mutation. Handoff transfers the owner from protocol staging to transport.
Implementations§
Trait Implementations§
impl<K: Copy> Copy for Effect<K>
impl<K: Eq> Eq for Effect<K>
impl<K: PartialEq> StructuralPartialEq for Effect<K>
Auto Trait Implementations§
impl<K> Freeze for Effect<K>where
K: Freeze,
impl<K> RefUnwindSafe for Effect<K>where
K: RefUnwindSafe,
impl<K> Send for Effect<K>where
K: Send,
impl<K> Sync for Effect<K>where
K: Sync,
impl<K> Unpin for Effect<K>where
K: Unpin,
impl<K> UnsafeUnpin for Effect<K>where
K: UnsafeUnpin,
impl<K> UnwindSafe for Effect<K>where
K: 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