pub struct Closed<'a> {
pub id: ConnectionId,
pub reason: CloseReason<'a>,
}Expand description
A connection ended.
Fields§
§id: ConnectionId§reason: CloseReason<'a>Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Closed<'a>
impl<'a> !UnwindSafe for Closed<'a>
impl<'a> Freeze for Closed<'a>
impl<'a> Send for Closed<'a>
impl<'a> Sync for Closed<'a>
impl<'a> Unpin for Closed<'a>
impl<'a> UnsafeUnpin for Closed<'a>
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