Struct futures_util::stream::ReuniteError [−][src]
pub struct ReuniteError<T, Item>(pub SplitSink<T, Item>, pub SplitStream<T>);
This is supported on crate feature
sink only.Expand description
Error indicating a SplitSink<S> and SplitStream<S> were not two halves
of a Stream + Split, and thus could not be reunited.
Trait Implementations
impl<T, Item> Debug for ReuniteError<T, Item>[src]
impl<T, Item> Debug for ReuniteError<T, Item>[src]impl<T, Item> Display for ReuniteError<T, Item>[src]
impl<T, Item> Display for ReuniteError<T, Item>[src]impl<T: Any, Item> Error for ReuniteError<T, Item>[src]
impl<T: Any, Item> Error for ReuniteError<T, Item>[src]fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>[src]
fn backtrace(&self) -> Option<&Backtrace>[src]🔬 This is a nightly-only experimental API. (
backtrace)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str1.0.0[src]
fn description(&self) -> &str1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations
impl<T, Item> !RefUnwindSafe for ReuniteError<T, Item>
impl<T, Item> Send for ReuniteError<T, Item> where
Item: Send,
T: Send,
Item: Send,
T: Send,
impl<T, Item> Sync for ReuniteError<T, Item> where
Item: Sync,
T: Send,
Item: Sync,
T: Send,
impl<T, Item> Unpin for ReuniteError<T, Item>
impl<T, Item> !UnwindSafe for ReuniteError<T, Item>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more