pub enum StorageOpsError {
AppDirectoryOpsError(AppDirectoryOpsError),
AppStateOpsError(AppStateOpsError),
EnvOpsError(EnvOpsError),
MemoryRegistryOpsError(MemoryRegistryOpsError),
ShardingRegistryOpsError(ShardingRegistryOpsError),
SubnetDirectoryOpsError(SubnetDirectoryOpsError),
TopologyOpsError(TopologyOpsError),
}Expand description
StorageOpsError
Variants§
AppDirectoryOpsError(AppDirectoryOpsError)
AppStateOpsError(AppStateOpsError)
EnvOpsError(EnvOpsError)
MemoryRegistryOpsError(MemoryRegistryOpsError)
ShardingRegistryOpsError(ShardingRegistryOpsError)
SubnetDirectoryOpsError(SubnetDirectoryOpsError)
TopologyOpsError(TopologyOpsError)
Trait Implementations§
Source§impl Debug for StorageOpsError
impl Debug for StorageOpsError
Source§impl Display for StorageOpsError
impl Display for StorageOpsError
Source§impl Error for StorageOpsError
impl Error for StorageOpsError
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<AppDirectoryOpsError> for StorageOpsError
impl From<AppDirectoryOpsError> for StorageOpsError
Source§fn from(source: AppDirectoryOpsError) -> Self
fn from(source: AppDirectoryOpsError) -> Self
Converts to this type from the input type.
Source§impl From<AppStateOpsError> for StorageOpsError
impl From<AppStateOpsError> for StorageOpsError
Source§fn from(source: AppStateOpsError) -> Self
fn from(source: AppStateOpsError) -> Self
Converts to this type from the input type.
Source§impl From<EnvOpsError> for StorageOpsError
impl From<EnvOpsError> for StorageOpsError
Source§fn from(source: EnvOpsError) -> Self
fn from(source: EnvOpsError) -> Self
Converts to this type from the input type.
Source§impl From<MemoryRegistryOpsError> for StorageOpsError
impl From<MemoryRegistryOpsError> for StorageOpsError
Source§fn from(source: MemoryRegistryOpsError) -> Self
fn from(source: MemoryRegistryOpsError) -> Self
Converts to this type from the input type.
Source§impl From<ShardingRegistryOpsError> for StorageOpsError
impl From<ShardingRegistryOpsError> for StorageOpsError
Source§fn from(source: ShardingRegistryOpsError) -> Self
fn from(source: ShardingRegistryOpsError) -> Self
Converts to this type from the input type.
Source§impl From<StorageOpsError> for Error
impl From<StorageOpsError> for Error
Source§fn from(err: StorageOpsError) -> Self
fn from(err: StorageOpsError) -> Self
Converts to this type from the input type.
Source§impl From<StorageOpsError> for OpsError
impl From<StorageOpsError> for OpsError
Source§fn from(source: StorageOpsError) -> Self
fn from(source: StorageOpsError) -> Self
Converts to this type from the input type.
Source§impl From<SubnetDirectoryOpsError> for StorageOpsError
impl From<SubnetDirectoryOpsError> for StorageOpsError
Source§fn from(source: SubnetDirectoryOpsError) -> Self
fn from(source: SubnetDirectoryOpsError) -> Self
Converts to this type from the input type.
Source§impl From<TopologyOpsError> for StorageOpsError
impl From<TopologyOpsError> for StorageOpsError
Source§fn from(source: TopologyOpsError) -> Self
fn from(source: TopologyOpsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StorageOpsError
impl RefUnwindSafe for StorageOpsError
impl Send for StorageOpsError
impl Sync for StorageOpsError
impl Unpin for StorageOpsError
impl UnwindSafe for StorageOpsError
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