pub enum ConnectionEvent<'t, 's> {
RawConnect,
Connect,
Disconnect(Option<ConnectionError<'t, 's>>),
}Variants§
Trait Implementations§
Source§impl<'t, 's> Debug for ConnectionEvent<'t, 's>
impl<'t, 's> Debug for ConnectionEvent<'t, 's>
Auto Trait Implementations§
impl<'t, 's> Freeze for ConnectionEvent<'t, 's>
impl<'t, 's> RefUnwindSafe for ConnectionEvent<'t, 's>
impl<'t, 's> Send for ConnectionEvent<'t, 's>
impl<'t, 's> !Sync for ConnectionEvent<'t, 's>
impl<'t, 's> Unpin for ConnectionEvent<'t, 's>
impl<'t, 's> !UnwindSafe for ConnectionEvent<'t, 's>
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