pub struct LocalConnectionClose;Expand description
A local (application-initiated) connection close. Carries no peer code: the required mapping is explicit that we must not invent one.
Trait Implementations§
Source§impl Debug for LocalConnectionClose
impl Debug for LocalConnectionClose
Source§impl Display for LocalConnectionClose
impl Display for LocalConnectionClose
Source§impl Error for LocalConnectionClose
impl Error for LocalConnectionClose
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()
Auto Trait Implementations§
impl Freeze for LocalConnectionClose
impl RefUnwindSafe for LocalConnectionClose
impl Send for LocalConnectionClose
impl Sync for LocalConnectionClose
impl Unpin for LocalConnectionClose
impl UnsafeUnpin for LocalConnectionClose
impl UnwindSafe for LocalConnectionClose
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