Type Alias StartSend

Source
pub type StartSend<T, E> = Result<AsyncSink<T>, E>;
Expand description

Return type of the Sink::start_send method, indicating the outcome of a send attempt. See AsyncSink for more details.

Aliased Type§

enum StartSend<T, E> {
    Ok(AsyncSink<T>),
    Err(E),
}

Variants§

§1.0.0

Ok(AsyncSink<T>)

Contains the success value

§1.0.0

Err(E)

Contains the error value