Struct async_gate::BeforeGateDropped
source · pub struct BeforeGateDropped(pub bool);
Expand description
The gate was dropped, but we still know what value it had before dropping
Tuple Fields§
§0: bool
Trait Implementations§
source§impl Debug for BeforeGateDropped
impl Debug for BeforeGateDropped
source§impl Display for BeforeGateDropped
impl Display for BeforeGateDropped
source§impl Error for BeforeGateDropped
impl Error for BeforeGateDropped
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl RefUnwindSafe for BeforeGateDropped
impl Send for BeforeGateDropped
impl Sync for BeforeGateDropped
impl Unpin for BeforeGateDropped
impl UnwindSafe for BeforeGateDropped
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