Enum metered_channel::oneshot::Error [−][src]
pub enum Error {
Canceled(Canceled, Measurements),
HardTimeout(Duration, Measurements),
}
Variants
Canceled(Canceled, Measurements)
Tuple Fields of Canceled
0: Canceled
1: Measurements
HardTimeout(Duration, Measurements)
Tuple Fields of HardTimeout
0: Duration
1: Measurements
Trait Implementations
Obtain a set of measurements represented by the Measurements
type.
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more