pub enum ManagedConfigError {
EmptyInitialTargets,
DuplicateTargetId {
id: TargetId,
},
TooManyTargets {
configured: usize,
limit: usize,
},
ZeroEventCapacity,
EventCapacityTooLarge {
configured: usize,
maximum: usize,
},
ZeroCommandCapacity,
CommandCapacityTooLarge {
configured: usize,
maximum: usize,
},
ZeroLiveGenerationLimit,
UnschedulableFinalDrain {
duration: Duration,
},
InvalidTarget {
id: TargetId,
source: ClientError,
},
GenerationExhausted,
}Expand description
Configuration failure detected before any runtime work begins.
Variants§
EmptyInitialTargets
DuplicateTargetId
TooManyTargets
ZeroEventCapacity
EventCapacityTooLarge
ZeroCommandCapacity
CommandCapacityTooLarge
ZeroLiveGenerationLimit
UnschedulableFinalDrain
InvalidTarget
GenerationExhausted
Trait Implementations§
Source§impl Debug for ManagedConfigError
impl Debug for ManagedConfigError
Source§impl Display for ManagedConfigError
impl Display for ManagedConfigError
Source§impl Error for ManagedConfigError
impl Error for ManagedConfigError
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<ManagedConfigError> for BlockingManagedStartError
impl From<ManagedConfigError> for BlockingManagedStartError
Source§fn from(source: ManagedConfigError) -> Self
fn from(source: ManagedConfigError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ManagedConfigError
impl !UnwindSafe for ManagedConfigError
impl Freeze for ManagedConfigError
impl Send for ManagedConfigError
impl Sync for ManagedConfigError
impl Unpin for ManagedConfigError
impl UnsafeUnpin for ManagedConfigError
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