pub enum ModuleManagementError {
InvalidContract(String),
EnvironmentNotWritable,
MissingAuthority(String),
ApprovalMissing(String),
ApprovalStale(String),
IdempotencyConflict,
LeaseHeld(String),
StaleFencingToken,
IllegalTransition {
from: ModuleOperationState,
to: ModuleOperationState,
},
ReceiptConflict(String),
Store(ModuleOperationStoreError),
}Variants§
InvalidContract(String)
EnvironmentNotWritable
MissingAuthority(String)
ApprovalMissing(String)
ApprovalStale(String)
IdempotencyConflict
LeaseHeld(String)
StaleFencingToken
IllegalTransition
ReceiptConflict(String)
Store(ModuleOperationStoreError)
Trait Implementations§
Source§impl Debug for ModuleManagementError
impl Debug for ModuleManagementError
Source§impl Display for ModuleManagementError
impl Display for ModuleManagementError
Source§impl Error for ModuleManagementError
impl Error for ModuleManagementError
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<ModuleManagementError> for WorkspaceModuleOperatorError
impl From<ModuleManagementError> for WorkspaceModuleOperatorError
Source§fn from(source: ModuleManagementError) -> Self
fn from(source: ModuleManagementError) -> Self
Converts to this type from the input type.
Source§impl From<ModuleManagementError> for LinkedWorkspaceError
impl From<ModuleManagementError> for LinkedWorkspaceError
Source§fn from(source: ModuleManagementError) -> Self
fn from(source: ModuleManagementError) -> Self
Converts to this type from the input type.
Source§impl From<ModuleManagementError> for ModuleChangePlannerError
impl From<ModuleManagementError> for ModuleChangePlannerError
Source§fn from(source: ModuleManagementError) -> Self
fn from(source: ModuleManagementError) -> Self
Converts to this type from the input type.
Source§impl From<ModuleOperationStoreError> for ModuleManagementError
impl From<ModuleOperationStoreError> for ModuleManagementError
Source§fn from(source: ModuleOperationStoreError) -> Self
fn from(source: ModuleOperationStoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ModuleManagementError
impl !UnwindSafe for ModuleManagementError
impl Freeze for ModuleManagementError
impl Send for ModuleManagementError
impl Sync for ModuleManagementError
impl Unpin for ModuleManagementError
impl UnsafeUnpin for ModuleManagementError
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