pub enum SpawnError {
ClassNotFound,
AlreadyExists,
DeployFailed,
}Expand description
Errors that can occur when spawning a cell.
Variants§
ClassNotFound
No cell class with the given hash or name is registered.
AlreadyExists
The caller already has a child with that local name.
DeployFailed
The deploy failed after the child’s name was claimed.
Trait Implementations§
Source§impl Clone for SpawnError
impl Clone for SpawnError
Source§fn clone(&self) -> SpawnError
fn clone(&self) -> SpawnError
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 SpawnError
Source§impl Debug for SpawnError
impl Debug for SpawnError
impl Eq for SpawnError
Source§impl From<SpawnError> for &'static str
impl From<SpawnError> for &'static str
Source§fn from(err: SpawnError) -> &'static str
fn from(err: SpawnError) -> &'static str
Converts to this type from the input type.
Source§impl PartialEq for SpawnError
impl PartialEq for SpawnError
impl StructuralPartialEq for SpawnError
Auto Trait Implementations§
impl Freeze for SpawnError
impl RefUnwindSafe for SpawnError
impl Send for SpawnError
impl Sync for SpawnError
impl Unpin for SpawnError
impl UnsafeUnpin for SpawnError
impl UnwindSafe for SpawnError
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