pub enum FleetGenerateError {
Show 28 variants
SubnetCatalog(Box<CatalogAcquisitionError>),
Frontend(FrontendError),
Policy(EnsurePolicyError),
FundingPolicy(FleetFundingPolicyValidationError),
Read {
path: PathBuf,
source: Error,
},
Write {
path: PathBuf,
source: Error,
},
UnsafeInput {
path: PathBuf,
reason: &'static str,
},
TooLarge {
actual: usize,
maximum: usize,
path: PathBuf,
},
Decode {
path: PathBuf,
source: Error,
},
Schema {
actual: u32,
kind: &'static str,
},
Authority(String),
FreshSeedConflict(String),
SeedTopology(String),
CanisterUnavailable {
canister: String,
reason: String,
},
StoppedRootStartRequired(Box<StoppedRootStartPrerequisite>),
ControllerMismatch {
actual: Vec<String>,
canister: String,
expected: Vec<String>,
},
SubnetMismatch {
actual: String,
canister: String,
expected: String,
},
Release(String),
ReleaseBuildNetworkMismatch {
release_build_id: ReleaseBuildId,
actual: BuildNetwork,
environment: String,
expected: BuildNetwork,
},
FleetAdmissionAnonymous,
FleetAdmissionDuplicate {
principal: Principal,
},
CandidMissing {
path: PathBuf,
},
CandidNotRegular {
path: PathBuf,
},
CandidRead {
path: PathBuf,
source: Error,
},
CandidDigestMismatch {
path: PathBuf,
expected: [u8; 32],
observed: [u8; 32],
},
ComponentPoolCapacity(RootPoolCapacityError),
PoolImportCapacity(RootPoolImportCapacityError),
Clock,
}Expand description
Typed no-effect Fleet generation failure.
Variants§
SubnetCatalog(Box<CatalogAcquisitionError>)
Frontend(FrontendError)
Policy(EnsurePolicyError)
FundingPolicy(FleetFundingPolicyValidationError)
Read
Write
UnsafeInput
TooLarge
Decode
Schema
Authority(String)
FreshSeedConflict(String)
SeedTopology(String)
StoppedRootStartRequired(Box<StoppedRootStartPrerequisite>)
ControllerMismatch
SubnetMismatch
Release(String)
ReleaseBuildNetworkMismatch
FleetAdmissionAnonymous
FleetAdmissionDuplicate
CandidMissing
CandidNotRegular
CandidRead
CandidDigestMismatch
ComponentPoolCapacity(RootPoolCapacityError)
PoolImportCapacity(RootPoolImportCapacityError)
Clock
Trait Implementations§
Source§impl Debug for FleetGenerateError
impl Debug for FleetGenerateError
Source§impl Display for FleetGenerateError
impl Display for FleetGenerateError
Source§impl Error for FleetGenerateError
impl Error for FleetGenerateError
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<Box<CatalogAcquisitionError>> for FleetGenerateError
impl From<Box<CatalogAcquisitionError>> for FleetGenerateError
Source§fn from(source: Box<CatalogAcquisitionError>) -> Self
fn from(source: Box<CatalogAcquisitionError>) -> Self
Converts to this type from the input type.
Source§impl From<EnsurePolicyError> for FleetGenerateError
impl From<EnsurePolicyError> for FleetGenerateError
Source§fn from(source: EnsurePolicyError) -> Self
fn from(source: EnsurePolicyError) -> Self
Converts to this type from the input type.
Source§impl From<FleetFundingPolicyValidationError> for FleetGenerateError
impl From<FleetFundingPolicyValidationError> for FleetGenerateError
Source§impl From<FrontendError> for FleetGenerateError
impl From<FrontendError> for FleetGenerateError
Source§fn from(source: FrontendError) -> Self
fn from(source: FrontendError) -> Self
Converts to this type from the input type.
Source§impl From<RootPoolCapacityError> for FleetGenerateError
impl From<RootPoolCapacityError> for FleetGenerateError
Source§fn from(source: RootPoolCapacityError) -> Self
fn from(source: RootPoolCapacityError) -> Self
Converts to this type from the input type.
Source§impl From<RootPoolImportCapacityError> for FleetGenerateError
impl From<RootPoolImportCapacityError> for FleetGenerateError
Source§fn from(source: RootPoolImportCapacityError) -> Self
fn from(source: RootPoolImportCapacityError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for FleetGenerateError
impl !UnwindSafe for FleetGenerateError
impl Freeze for FleetGenerateError
impl Send for FleetGenerateError
impl Sync for FleetGenerateError
impl Unpin for FleetGenerateError
impl UnsafeUnpin for FleetGenerateError
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