pub enum CurrentFleetInventoryError {
Show 16 variants
NotConverged {
environment: String,
fleet: String,
},
MissingParent {
canister: String,
parent: String,
},
MissingPrincipal(String),
MissingCoordinator,
DuplicatePrincipal,
MissingPlan {
fleet: String,
},
PlanAuthorityConflict {
fleet: String,
},
NetworkAuthorityConflict {
actual: CanonicalNetworkId,
expected: CanonicalNetworkId,
fleet: String,
},
ProtocolAuthorityMissing {
fleet: String,
},
ProtocolAuthorityConflict {
fleet: String,
},
AmbiguousFleetSubnetRoot {
fleet: String,
root_count: usize,
},
DiscoveryRead {
path: PathBuf,
source: Error,
},
UnsafeDiscoveryPath {
path: PathBuf,
},
DuplicateDiscoveryAuthority {
field: &'static str,
value: String,
},
Network(NetworkIdentityError),
State(EnsureStateError),
}Expand description
Typed current-inventory resolution failure.
Variants§
NotConverged
MissingParent
MissingPrincipal(String)
MissingCoordinator
DuplicatePrincipal
MissingPlan
PlanAuthorityConflict
NetworkAuthorityConflict
ProtocolAuthorityMissing
ProtocolAuthorityConflict
AmbiguousFleetSubnetRoot
DiscoveryRead
UnsafeDiscoveryPath
DuplicateDiscoveryAuthority
Network(NetworkIdentityError)
State(EnsureStateError)
Trait Implementations§
Source§impl Debug for CurrentFleetInventoryError
impl Debug for CurrentFleetInventoryError
Source§impl Display for CurrentFleetInventoryError
impl Display for CurrentFleetInventoryError
Source§impl Error for CurrentFleetInventoryError
impl Error for CurrentFleetInventoryError
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<CurrentFleetInventoryError> for ComponentOperationError
impl From<CurrentFleetInventoryError> for ComponentOperationError
Source§fn from(source: CurrentFleetInventoryError) -> Self
fn from(source: CurrentFleetInventoryError) -> Self
Converts to this type from the input type.
Source§impl<E> From<CurrentFleetInventoryError> for EnsureWorkflowError<E>where
E: Error + 'static,
impl<E> From<CurrentFleetInventoryError> for EnsureWorkflowError<E>where
E: Error + 'static,
Source§fn from(source: CurrentFleetInventoryError) -> Self
fn from(source: CurrentFleetInventoryError) -> Self
Converts to this type from the input type.
Source§impl From<CurrentFleetInventoryError> for FrontendError
impl From<CurrentFleetInventoryError> for FrontendError
Source§fn from(source: CurrentFleetInventoryError) -> Self
fn from(source: CurrentFleetInventoryError) -> Self
Converts to this type from the input type.
Source§impl From<EnsureStateError> for CurrentFleetInventoryError
impl From<EnsureStateError> for CurrentFleetInventoryError
Source§fn from(source: EnsureStateError) -> Self
fn from(source: EnsureStateError) -> Self
Converts to this type from the input type.
Source§impl From<NetworkIdentityError> for CurrentFleetInventoryError
impl From<NetworkIdentityError> for CurrentFleetInventoryError
Source§fn from(source: NetworkIdentityError) -> Self
fn from(source: NetworkIdentityError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for CurrentFleetInventoryError
impl !UnwindSafe for CurrentFleetInventoryError
impl Freeze for CurrentFleetInventoryError
impl Send for CurrentFleetInventoryError
impl Sync for CurrentFleetInventoryError
impl Unpin for CurrentFleetInventoryError
impl UnsafeUnpin for CurrentFleetInventoryError
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