pub enum SubnetCatalogHostError {
Show 21 variants
UnsupportedNetwork {
network: String,
},
MissingCatalog {
path: PathBuf,
},
ReadCatalog {
path: PathBuf,
source: Error,
},
NetworkMismatch {
requested: String,
actual: String,
},
InvalidStaleDuration {
value: String,
},
RefreshAlreadyInProgress {
path: PathBuf,
started_at_unix_ms: u64,
},
CreateCatalogDirectory {
path: PathBuf,
source: Error,
},
CreateRefreshLock {
path: PathBuf,
source: Error,
},
ReadRefreshLock {
path: PathBuf,
source: Error,
},
ParseRefreshLock {
path: PathBuf,
source: Error,
},
WriteRefreshLock {
path: PathBuf,
source: Error,
},
RemoveRefreshLock {
path: PathBuf,
source: Error,
},
RegistryRefresh(RegistryFetchError),
RefreshNetworkMismatch {
requested: String,
actual: String,
},
WriteCatalogTemp {
path: PathBuf,
source: Error,
},
SyncCatalogTemp {
path: PathBuf,
source: Error,
},
ReplaceCatalog {
temp_path: PathBuf,
catalog_path: PathBuf,
source: Error,
},
SyncCatalogDirectory {
path: PathBuf,
source: Error,
},
WriteRefreshOutput {
path: PathBuf,
source: Error,
},
SyncRefreshOutput {
path: PathBuf,
source: Error,
},
Catalog(CatalogError),
}Expand description
SubnetCatalogHostError
Variants§
UnsupportedNetwork
MissingCatalog
ReadCatalog
NetworkMismatch
InvalidStaleDuration
RefreshAlreadyInProgress
CreateCatalogDirectory
CreateRefreshLock
ReadRefreshLock
ParseRefreshLock
WriteRefreshLock
RemoveRefreshLock
RegistryRefresh(RegistryFetchError)
RefreshNetworkMismatch
WriteCatalogTemp
SyncCatalogTemp
ReplaceCatalog
SyncCatalogDirectory
WriteRefreshOutput
SyncRefreshOutput
Catalog(CatalogError)
Trait Implementations§
Source§impl Debug for SubnetCatalogHostError
impl Debug for SubnetCatalogHostError
Source§impl Display for SubnetCatalogHostError
impl Display for SubnetCatalogHostError
Source§impl Error for SubnetCatalogHostError
impl Error for SubnetCatalogHostError
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 SubnetCatalogHostError
impl From<CatalogError> for SubnetCatalogHostError
Source§fn from(source: CatalogError) -> Self
fn from(source: CatalogError) -> Self
Converts to this type from the input type.
Source§impl From<RegistryFetchError> for SubnetCatalogHostError
impl From<RegistryFetchError> for SubnetCatalogHostError
Source§fn from(source: RegistryFetchError) -> Self
fn from(source: RegistryFetchError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SubnetCatalogHostError
impl !UnwindSafe for SubnetCatalogHostError
impl Freeze for SubnetCatalogHostError
impl Send for SubnetCatalogHostError
impl Sync for SubnetCatalogHostError
impl Unpin for SubnetCatalogHostError
impl UnsafeUnpin for SubnetCatalogHostError
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