pub enum TerminateError {
NotFound,
UndeployFailed,
EraseFailed,
NotPermitted,
}Expand description
Errors that can occur when terminating a cell.
Variants§
NotFound
No cell with the given SRI exists.
UndeployFailed
The undeploy step failed.
EraseFailed
Erasing the cell’s records failed.
NotPermitted
The target is not the caller or one of its descendants — kill authority is ancestry (spec §6).
Trait Implementations§
Source§impl Clone for TerminateError
impl Clone for TerminateError
Source§fn clone(&self) -> TerminateError
fn clone(&self) -> TerminateError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TerminateError
Source§impl Debug for TerminateError
impl Debug for TerminateError
impl Eq for TerminateError
Source§impl From<TerminateError> for &'static str
impl From<TerminateError> for &'static str
Source§fn from(err: TerminateError) -> &'static str
fn from(err: TerminateError) -> &'static str
Converts to this type from the input type.
Source§impl PartialEq for TerminateError
impl PartialEq for TerminateError
impl StructuralPartialEq for TerminateError
Auto Trait Implementations§
impl Freeze for TerminateError
impl RefUnwindSafe for TerminateError
impl Send for TerminateError
impl Sync for TerminateError
impl Unpin for TerminateError
impl UnsafeUnpin for TerminateError
impl UnwindSafe for TerminateError
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