pub enum EnsureStateError {
Decode {
path: PathBuf,
source: Error,
},
Unsafe {
path: PathBuf,
},
WrongSchema {
path: PathBuf,
actual: u16,
},
ArtifactUnavailable {
path: PathBuf,
},
ArtifactRead {
path: PathBuf,
source: Error,
},
Io {
path: PathBuf,
source: Error,
},
StoreChunkAuthority {
reason: String,
},
StoreChunkUnavailable {
path: PathBuf,
},
StoreChunkMismatch {
path: PathBuf,
},
Lock {
path: PathBuf,
},
FleetMismatch {
actual: String,
expected: String,
path: PathBuf,
},
}Expand description
Durable current-state I/O failure.
Variants§
Decode
Unsafe
WrongSchema
ArtifactRead
Io
StoreChunkAuthority
StoreChunkMismatch
Lock
FleetMismatch
Trait Implementations§
Source§impl Debug for EnsureStateError
impl Debug for EnsureStateError
Source§impl Display for EnsureStateError
impl Display for EnsureStateError
Source§impl Error for EnsureStateError
impl Error for EnsureStateError
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<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<E> From<EnsureStateError> for EnsureWorkflowError<E>where
E: Error + 'static,
impl<E> From<EnsureStateError> for EnsureWorkflowError<E>where
E: Error + 'static,
Source§fn from(source: EnsureStateError) -> Self
fn from(source: EnsureStateError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for EnsureStateError
impl !UnwindSafe for EnsureStateError
impl Freeze for EnsureStateError
impl Send for EnsureStateError
impl Sync for EnsureStateError
impl Unpin for EnsureStateError
impl UnsafeUnpin for EnsureStateError
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