pub struct ReuniteError<T>(pub SplitSink<T>, pub SplitStream<T>);Expand description
Error indicating a SplitSink<S> and SplitStream<S> were not two halves
of a Stream + Split, and thus could not be reunited.
Tuple Fields
0: SplitSink<T>1: SplitStream<T>Trait Implementations
sourceimpl<T> Debug for ReuniteError<T>
impl<T> Debug for ReuniteError<T>
sourceimpl<T> Display for ReuniteError<T>
impl<T> Display for ReuniteError<T>
sourceimpl<T> Error for ReuniteError<T> where
T: Any,
impl<T> Error for ReuniteError<T> where
T: Any,
sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
Auto Trait Implementations
impl<T> !RefUnwindSafe for ReuniteError<T>
impl<T> Send for ReuniteError<T> where
T: Send,
impl<T> Sync for ReuniteError<T> where
T: Send,
impl<T> Unpin for ReuniteError<T>
impl<T> !UnwindSafe for ReuniteError<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more