pub enum RuntimeOwnerKind {
ManualCli,
Supervisor,
Desktop,
}Variants§
Implementations§
Source§impl RuntimeOwnerKind
impl RuntimeOwnerKind
pub fn as_str(self) -> &'static str
pub fn parse(value: &str) -> Option<Self>
pub fn lifecycle_mode(self) -> ProxyLifecycleMode
Trait Implementations§
Source§impl Clone for RuntimeOwnerKind
impl Clone for RuntimeOwnerKind
Source§fn clone(&self) -> RuntimeOwnerKind
fn clone(&self) -> RuntimeOwnerKind
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 RuntimeOwnerKind
Source§impl Debug for RuntimeOwnerKind
impl Debug for RuntimeOwnerKind
Source§impl<'de> Deserialize<'de> for RuntimeOwnerKind
impl<'de> Deserialize<'de> for RuntimeOwnerKind
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 Display for RuntimeOwnerKind
impl Display for RuntimeOwnerKind
impl Eq for RuntimeOwnerKind
Source§impl FromStr for RuntimeOwnerKind
impl FromStr for RuntimeOwnerKind
Source§impl PartialEq for RuntimeOwnerKind
impl PartialEq for RuntimeOwnerKind
Source§impl Serialize for RuntimeOwnerKind
impl Serialize for RuntimeOwnerKind
impl StructuralPartialEq for RuntimeOwnerKind
Auto Trait Implementations§
impl Freeze for RuntimeOwnerKind
impl RefUnwindSafe for RuntimeOwnerKind
impl Send for RuntimeOwnerKind
impl Sync for RuntimeOwnerKind
impl Unpin for RuntimeOwnerKind
impl UnsafeUnpin for RuntimeOwnerKind
impl UnwindSafe for RuntimeOwnerKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.