pub enum BackendAction {
Spawn {
executable: Value,
key: AcquiredKey,
static_token: Option<BearerToken>,
},
Terminate {
kind: TerminationKind,
reason: TerminationReason,
},
}
Variants§
Trait Implementations§
Source§impl Clone for BackendAction
impl Clone for BackendAction
Source§fn clone(&self) -> BackendAction
fn clone(&self) -> BackendAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BackendAction
impl Debug for BackendAction
Source§impl<'de> Deserialize<'de> for BackendAction
impl<'de> Deserialize<'de> for BackendAction
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
Source§impl Mappable for BackendAction
impl Mappable for BackendAction
Source§impl Serialize for BackendAction
impl Serialize for BackendAction
Auto Trait Implementations§
impl Freeze for BackendAction
impl RefUnwindSafe for BackendAction
impl Send for BackendAction
impl Sync for BackendAction
impl Unpin for BackendAction
impl UnwindSafe for BackendAction
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