[−][src]Struct futures_util::sink::SinkErrInto
Sink for the sink_err_into
method.
Methods
impl<Si, E, Item> SinkErrInto<Si, Item, E> where
Si: Sink<Item>,
Si::Error: Into<E>,
[src][−]
Si: Sink<Item>,
Si::Error: Into<E>,
ⓘImportant traits for &'_ mut Fpub fn get_ref(&self) -> &Si
[src][−]
ⓘImportant traits for &'_ mut F
Get a shared reference to the inner sink.
ⓘImportant traits for &'_ mut Fpub fn get_mut(&mut self) -> &mut Si
[src][−]
ⓘImportant traits for &'_ mut F
Get a mutable reference to the inner sink.
ⓘImportant traits for Pin<P>pub fn get_pin_mut(self: Pin<&mut Self>) -> Pin<&mut Si>
[src][−]
ⓘImportant traits for Pin<P>
Get a pinned mutable reference to the inner sink.
pub fn into_inner(self) -> Si
[src][−]
Consumes this combinator, returning the underlying sink.
Note that this may discard intermediate state of this combinator, so care should be taken to avoid losing resources when this is called.
Trait Implementations
impl<Si: Debug + Sink<Item>, Item: Debug, E: Debug> Debug for SinkErrInto<Si, Item, E> where
Si::Error: Debug,
[src][+]
Si::Error: Debug,
impl<S, Item, E> Stream for SinkErrInto<S, Item, E> where
S: Sink<Item> + Stream,
S::Error: Into<E>,
[src][+]
S: Sink<Item> + Stream,
S::Error: Into<E>,
impl<S, Item, E> FusedStream for SinkErrInto<S, Item, E> where
S: Sink<Item> + FusedStream,
S::Error: Into<E>,
[src][+]
S: Sink<Item> + FusedStream,
S::Error: Into<E>,
impl<Si, Item, E> Sink<Item> for SinkErrInto<Si, Item, E> where
Si: Sink<Item>,
Si::Error: Into<E>,
[src][+]
Si: Sink<Item>,
Si::Error: Into<E>,
Auto Trait Implementations
impl<Si, Item, E> Send for SinkErrInto<Si, Item, E> where
Si: Send,
Si: Send,
impl<Si, Item, E> Sync for SinkErrInto<Si, Item, E> where
Si: Sync,
Si: Sync,
impl<Si, Item, E> Unpin for SinkErrInto<Si, Item, E> where
Si: Unpin,
Si: Unpin,
impl<Si, Item, E> UnwindSafe for SinkErrInto<Si, Item, E> where
Si: UnwindSafe,
Si: UnwindSafe,
impl<Si, Item, E> RefUnwindSafe for SinkErrInto<Si, Item, E> where
Si: RefUnwindSafe,
Si: RefUnwindSafe,
Blanket Implementations
impl<T, Item> SinkExt<Item> for T where
T: Sink<Item> + ?Sized,
[src][+]
T: Sink<Item> + ?Sized,
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> From<T> for T
[src][+]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<S, T, E> TryStream for S where
S: Stream<Item = Result<T, E>> + ?Sized,
[src][+]
S: Stream<Item = Result<T, E>> + ?Sized,