pub type ReplyResult<T> = Result<Option<ReplyTo<T>>, Error>;
Expand description

A result type for ReplyTo which is used to reply if wrapped with Some.

Aliased Type§

enum ReplyResult<T> {
    Ok(Option<(Sender<T>, T)>),
    Err(Error),
}

Variants§

§1.0.0

Ok(Option<(Sender<T>, T)>)

Contains the success value

§1.0.0

Err(Error)

Contains the error value