pub struct TransportHold { /* private fields */ }Expand description
The release lever of BannerTransport::holding.
Dropping it releases every held transfer, so a test that panics mid-way cannot wedge a server task forever.
Implementations§
Source§impl TransportHold
impl TransportHold
Trait Implementations§
Source§impl Debug for TransportHold
impl Debug for TransportHold
Source§impl Drop for TransportHold
impl Drop for TransportHold
Auto Trait Implementations§
impl Freeze for TransportHold
impl RefUnwindSafe for TransportHold
impl Send for TransportHold
impl Sync for TransportHold
impl Unpin for TransportHold
impl UnsafeUnpin for TransportHold
impl UnwindSafe for TransportHold
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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