pub struct ReuniteError<S>(pub OwnedReadHalf<S>, pub OwnedWriteHalf<S>);Expand description
Two halves of different streams, given back by
OwnedReadHalf::reunite.
Tuple Fields§
§0: OwnedReadHalf<S>§1: OwnedWriteHalf<S>Trait Implementations§
Source§impl<S> Debug for ReuniteError<S>
impl<S> Debug for ReuniteError<S>
Source§impl<S> Display for ReuniteError<S>
impl<S> Display for ReuniteError<S>
Source§impl<S> Error for ReuniteError<S>
impl<S> Error for ReuniteError<S>
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<S> !RefUnwindSafe for ReuniteError<S>
impl<S> !UnwindSafe for ReuniteError<S>
impl<S> Freeze for ReuniteError<S>
impl<S> Send for ReuniteError<S>
impl<S> Sync for ReuniteError<S>
impl<S> Unpin for ReuniteError<S>
impl<S> UnsafeUnpin for ReuniteError<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