pub struct Held<O, K> { /* private fields */ }Expand description
Retains a payload until its native owner closes successfully.
Trait Implementations§
Auto Trait Implementations§
impl<O, K> Forget for Held<O, K>
impl<O, K> Freeze for Held<O, K>
impl<O, K> Move for Held<O, K>
impl<O, K> RefUnwindSafe for Held<O, K>where
O: RefUnwindSafe,
K: RefUnwindSafe,
impl<O, K> Send for Held<O, K>
impl<O, K> Sync for Held<O, K>
impl<O, K> Unpin for Held<O, K>
impl<O, K> UnsafeUnpin for Held<O, K>where
O: UnsafeUnpin,
K: UnsafeUnpin,
impl<O, K> UnwindSafe for Held<O, K>where
O: UnwindSafe,
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