pub enum SpawnType {
Worker,
Delegate,
Clone,
Specialist,
Custom(String),
}Expand description
Type of spawned identity.
Variants§
Worker
Temporary, task-specific worker.
Delegate
Acts on behalf of parent with delegated authority.
Clone
Full copy of parent’s authority (within ceiling).
Specialist
Subset of capabilities for a specific domain.
Custom(String)
Custom spawn type.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SpawnType
impl<'de> Deserialize<'de> for SpawnType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SpawnType
impl StructuralPartialEq for SpawnType
Auto Trait Implementations§
impl Freeze for SpawnType
impl RefUnwindSafe for SpawnType
impl Send for SpawnType
impl Sync for SpawnType
impl Unpin for SpawnType
impl UnsafeUnpin for SpawnType
impl UnwindSafe for SpawnType
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