pub enum SyncOpsError {
CanisterNotFound(Principal),
RootNotFound,
InvalidParentChain,
ParentChainMissingSelf(Principal),
ParentChainCycle(Principal),
ParentChainTooLong(usize),
ParentChainNotRootTerminated(Principal),
NextHopNotFound(Principal),
}Expand description
SyncOpsError Errors raised during synchronization
Variants§
CanisterNotFound(Principal)
RootNotFound
InvalidParentChain
ParentChainMissingSelf(Principal)
ParentChainCycle(Principal)
ParentChainTooLong(usize)
ParentChainNotRootTerminated(Principal)
NextHopNotFound(Principal)
Trait Implementations§
Source§impl Debug for SyncOpsError
impl Debug for SyncOpsError
Source§impl Display for SyncOpsError
impl Display for SyncOpsError
Source§impl Error for SyncOpsError
impl Error for SyncOpsError
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<SyncOpsError> for Error
impl From<SyncOpsError> for Error
Source§fn from(err: SyncOpsError) -> Self
fn from(err: SyncOpsError) -> Self
Converts to this type from the input type.
Source§impl From<SyncOpsError> for OpsError
impl From<SyncOpsError> for OpsError
Source§fn from(source: SyncOpsError) -> Self
fn from(source: SyncOpsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SyncOpsError
impl RefUnwindSafe for SyncOpsError
impl Send for SyncOpsError
impl Sync for SyncOpsError
impl Unpin for SyncOpsError
impl UnwindSafe for SyncOpsError
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