pub enum FlowError {
Invalid,
Channel,
Capacity,
History,
Report,
Exhausted,
Allocation,
}Expand description
Rejected accounting transition. Every failure leaves existing state unchanged.
Variants§
Invalid
Zero/invalid identity, prefix, limits, revision, or operation size.
Channel
Scope or receiver incarnation differs; a fresh correlated open is required.
Capacity
Local count or body capacity is exhausted; retain/backpressure, never over-admit.
History
Prefix/digest/byte accounting does not match the retained contiguous history.
Report
Same-epoch report equivocates or retracts previously advertised state.
Exhausted
A cumulative counter cannot advance; fence and establish a new epoch.
Allocation
Startup could not reserve the configured metadata capacity.
Trait Implementations§
impl Copy for FlowError
impl Eq for FlowError
Source§impl Error for FlowError
impl Error for FlowError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<FlowError> for TransmitError
impl From<FlowError> for TransmitError
impl StructuralPartialEq for FlowError
Auto Trait Implementations§
impl Freeze for FlowError
impl RefUnwindSafe for FlowError
impl Send for FlowError
impl Sync for FlowError
impl Unpin for FlowError
impl UnsafeUnpin for FlowError
impl UnwindSafe for FlowError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more