pub enum RegistryFetchError {
Show 18 variants
AgentBuild {
endpoint: String,
reason: String,
},
AgentCall {
method: &'static str,
reason: String,
},
ProtobufEncode {
message: &'static str,
reason: String,
},
ProtobufDecode {
message: &'static str,
reason: String,
},
RegistryValue {
key: String,
code: String,
reason: String,
},
MissingValue {
key: String,
},
CandidEncode {
message: &'static str,
reason: String,
},
CandidDecode {
message: &'static str,
reason: String,
},
RegistryChunkRejected {
sha256: String,
reason: String,
},
MissingChunkContent {
sha256: String,
},
ChunkHashMismatch {
sha256: String,
actual_sha256: String,
},
MissingField {
field: &'static str,
},
InvalidPrincipal {
field: &'static str,
reason: String,
},
InvalidDataCenterRecordId {
key_id: String,
record_id: String,
},
EmptySubnetList,
EmptyRoutingTable,
Catalog(CatalogError),
Runtime(String),
}Expand description
RegistryFetchError
Variants§
AgentBuild
AgentCall
ProtobufEncode
ProtobufDecode
RegistryValue
MissingValue
CandidEncode
CandidDecode
RegistryChunkRejected
MissingChunkContent
ChunkHashMismatch
MissingField
InvalidPrincipal
InvalidDataCenterRecordId
EmptySubnetList
EmptyRoutingTable
Catalog(CatalogError)
Runtime(String)
Trait Implementations§
Source§impl Debug for RegistryFetchError
impl Debug for RegistryFetchError
Source§impl Display for RegistryFetchError
impl Display for RegistryFetchError
Source§impl Error for RegistryFetchError
impl Error for RegistryFetchError
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<CatalogError> for RegistryFetchError
impl From<CatalogError> for RegistryFetchError
Source§fn from(source: CatalogError) -> Self
fn from(source: CatalogError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for RegistryFetchError
impl !UnwindSafe for RegistryFetchError
impl Freeze for RegistryFetchError
impl Send for RegistryFetchError
impl Sync for RegistryFetchError
impl Unpin for RegistryFetchError
impl UnsafeUnpin for RegistryFetchError
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