pub struct ReuniteError(pub OwnedReadHalf, pub OwnedWriteHalf);Available on crate feature
net only.Expand description
Error indicating that two halves were not from the same socket, and thus could not be reunited.
Tuple Fields§
§0: OwnedReadHalf§1: OwnedWriteHalfTrait Implementations§
Source§impl Debug for ReuniteError
Available on non-loom only.
impl Debug for ReuniteError
Available on non-
loom only.Source§impl Display for ReuniteError
Available on non-loom only.
impl Display for ReuniteError
Available on non-
loom only.Source§impl Error for ReuniteError
Available on non-loom only.
impl Error for ReuniteError
Available on non-
loom only.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 ReuniteError
Available on non-
loom only.impl RefUnwindSafe for ReuniteError
Available on non-
loom only.impl Send for ReuniteError
Available on non-
loom only.impl Sync for ReuniteError
Available on non-
loom only.impl Unpin for ReuniteError
Available on non-
loom only.impl UnsafeUnpin for ReuniteError
Available on non-
loom only.impl UnwindSafe for ReuniteError
Available on non-
loom only.Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Available on non-loom only.
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Available on non-
loom only.Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
Available on non-loom only.
impl<T> Instrument for T
Available on non-
loom only.§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> WithSubscriber for T
Available on non-loom only.
impl<T> WithSubscriber for T
Available on non-
loom only.