Struct sp_utils::mpsc::TracingUnboundedSender  [−][src]
pub struct TracingUnboundedSender<T>(_, _);
Expand description
Wrapper Type around UnboundedSender that increases the global
measure when a message is added
Implementations
Proxy function to mpsc::UnboundedSender
Proxy function to mpsc::UnboundedSender
Proxy function to mpsc::UnboundedSender
Proxy function to mpsc::UnboundedSender
Proxy function to mpsc::UnboundedSender
Proxy function to mpsc::UnboundedSender
Trait Implementations
type Error = SendError
type Error = SendErrorThe type of value produced by the sink when an error occurs.
Attempts to prepare the Sink to receive a value. Read more
Begin the process of sending a value to the sink.
Each call to this function must be preceded by a successful call to
poll_ready which returned Poll::Ready(Ok(())). Read more
Flush any remaining output from this sink. Read more
type Error = SendError
type Error = SendErrorThe type of value produced by the sink when an error occurs.
Attempts to prepare the Sink to receive a value. Read more
Begin the process of sending a value to the sink.
Each call to this function must be preceded by a successful call to
poll_ready which returned Poll::Ready(Ok(())). Read more
Flush any remaining output from this sink. Read more
Auto Trait Implementations
impl<T> !RefUnwindSafe for TracingUnboundedSender<T>impl<T> Send for TracingUnboundedSender<T> where
    T: Send, impl<T> Sync for TracingUnboundedSender<T> where
    T: Send, impl<T> Unpin for TracingUnboundedSender<T>impl<T> !UnwindSafe for TracingUnboundedSender<T>Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T, Item> SinkExt<Item> for T where
    T: Sink<Item> + ?Sized, 
impl<T, Item> SinkExt<Item> for T where
    T: Sink<Item> + ?Sized, Composes a function in front of the sink. Read more
fn with_flat_map<U, St, F>(self, f: F) -> WithFlatMap<Self, Item, U, St, F> where
    F: FnMut(U) -> St,
    St: Stream<Item = Result<Item, Self::Error>>, 
fn with_flat_map<U, St, F>(self, f: F) -> WithFlatMap<Self, Item, U, St, F> where
    F: FnMut(U) -> St,
    St: Stream<Item = Result<Item, Self::Error>>, Composes a function in front of the sink. Read more
fn sink_map_err<E, F>(self, f: F) -> SinkMapErr<Self, F> where
    F: FnOnce(Self::Error) -> E, 
fn sink_map_err<E, F>(self, f: F) -> SinkMapErr<Self, F> where
    F: FnOnce(Self::Error) -> E, Transforms the error returned by the sink.
fn sink_err_into<E>(self) -> SinkErrInto<Self, Item, E> where
    Self::Error: Into<E>, 
fn sink_err_into<E>(self) -> SinkErrInto<Self, Item, E> where
    Self::Error: Into<E>, Map this sink’s error to a different error type using the Into trait. Read more
Adds a fixed-size buffer to the current sink. Read more
Fanout items to multiple sinks. Read more
Flush the sink, processing all pending items. Read more
A future that completes after the given item has been fully processed into the sink, including flushing. Read more
A future that completes after the given item has been received by the sink. Read more
A future that completes after the given stream has been fully processed into the sink, including flushing. Read more
fn left_sink<Si2>(self) -> Either<Self, Si2> where
    Si2: Sink<Item, Error = Self::Error>, 
fn left_sink<Si2>(self) -> Either<Self, Si2> where
    Si2: Sink<Item, Error = Self::Error>, Wrap this sink in an Either sink, making it the left-hand variant
of that Either. Read more
fn right_sink<Si1>(self) -> Either<Si1, Self> where
    Si1: Sink<Item, Error = Self::Error>, 
fn right_sink<Si1>(self) -> Either<Si1, Self> where
    Si1: Sink<Item, Error = Self::Error>, Wrap this stream in an Either stream, making it the right-hand variant
of that Either. Read more
Wraps a [Sink] into a sink compatible with libraries using
futures 0.1 Sink. Requires the compat feature to be enabled. Read more
fn start_send_unpin(&mut self, item: Item) -> Result<(), Self::Error> where
    Self: Unpin, 
fn start_send_unpin(&mut self, item: Item) -> Result<(), Self::Error> where
    Self: Unpin,