pub enum DistributeError {
InvalidConfiguration(String),
Missing(String),
CycleDetected,
CapacityExceeded {
queue: String,
depth: usize,
hard_limit: usize,
},
}Expand description
Failures in partition graphs and transfers.
Variants§
InvalidConfiguration(String)
Invalid configuration.
Missing(String)
Missing node or transfer.
CycleDetected
Partition graph contains a cycle.
CapacityExceeded
Transfer queue reached its hard backpressure limit.
Trait Implementations§
Source§impl Debug for DistributeError
impl Debug for DistributeError
Source§impl Display for DistributeError
impl Display for DistributeError
Source§impl Error for DistributeError
impl Error for DistributeError
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()
Auto Trait Implementations§
impl Freeze for DistributeError
impl RefUnwindSafe for DistributeError
impl Send for DistributeError
impl Sync for DistributeError
impl Unpin for DistributeError
impl UnsafeUnpin for DistributeError
impl UnwindSafe for DistributeError
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