pub struct BeforeGateDropped(pub Gateway);
Expand description
The gate was dropped, but we still know what value it had before dropping
Tuple Fields§
§0: Gateway
Trait Implementations§
Source§impl Clone for BeforeGateDropped
impl Clone for BeforeGateDropped
Source§fn clone(&self) -> BeforeGateDropped
fn clone(&self) -> BeforeGateDropped
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§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)>
Returns 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()
impl Copy for BeforeGateDropped
Auto Trait Implementations§
impl Freeze for BeforeGateDropped
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