Struct async_transmit::FromSink [−][src]
Implementations
impl<S, I, E> FromSink<S, I, E>
[src]
pub fn into_inner(self) -> S
[src]
Consumes this transmit, returning the underlying sink.
pub fn get_ref(&self) -> &S
[src]
Acquires a reference to the underlying sink that this transmit is pulling from.
pub fn get_mut(&mut self) -> &mut S
[src]
Acquires a mutable reference to the underlying sink that this transmit is pulling from.
Trait Implementations
impl<S, I> From<S> for FromSink<S, I, S::Error> where
S: Sink<I>,
[src]
S: Sink<I>,
impl<S, I> Transmit for FromSink<S, I, S::Error> where
I: Send,
S: Sink<I> + Unpin + Send,
S::Error: Send,
[src]
I: Send,
S: Sink<I> + Unpin + Send,
S::Error: Send,
Auto Trait Implementations
impl<S, I, E> RefUnwindSafe for FromSink<S, I, E> where
E: RefUnwindSafe,
I: RefUnwindSafe,
S: RefUnwindSafe,
E: RefUnwindSafe,
I: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, I, E> Send for FromSink<S, I, E> where
E: Send,
I: Send,
S: Send,
E: Send,
I: Send,
S: Send,
impl<S, I, E> Sync for FromSink<S, I, E> where
E: Sync,
I: Sync,
S: Sync,
E: Sync,
I: Sync,
S: Sync,
impl<S, I, E> Unpin for FromSink<S, I, E> where
E: Unpin,
I: Unpin,
S: Unpin,
E: Unpin,
I: Unpin,
S: Unpin,
impl<S, I, E> UnwindSafe for FromSink<S, I, E> where
E: UnwindSafe,
I: UnwindSafe,
S: UnwindSafe,
E: UnwindSafe,
I: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,