pub enum PoolOpsError {
PoolEntryMissing {
pid: Principal,
},
ImportBlockedRegistered {
pid: Principal,
},
MissingModuleHash {
pid: Principal,
},
MissingType {
pid: Principal,
},
PoolEntryNotReady {
pid: Principal,
},
}Expand description
PoolOpsError
Variants§
Trait Implementations§
Source§impl Debug for PoolOpsError
impl Debug for PoolOpsError
Source§impl Display for PoolOpsError
impl Display for PoolOpsError
Source§impl Error for PoolOpsError
impl Error for PoolOpsError
1.30.0 · 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<PoolOpsError> for Error
impl From<PoolOpsError> for Error
Source§fn from(err: PoolOpsError) -> Self
fn from(err: PoolOpsError) -> Self
Converts to this type from the input type.
Source§impl From<PoolOpsError> for OpsError
impl From<PoolOpsError> for OpsError
Source§fn from(source: PoolOpsError) -> Self
fn from(source: PoolOpsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PoolOpsError
impl RefUnwindSafe for PoolOpsError
impl Send for PoolOpsError
impl Sync for PoolOpsError
impl Unpin for PoolOpsError
impl UnwindSafe for PoolOpsError
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