#[non_exhaustive]pub enum GhostSource {
FrontendOnly,
RegistryOnly,
}Expand description
Indicates which side of the IPC boundary a ghost command was found on.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
FrontendOnly
Command invoked from the frontend but not registered in the backend.
RegistryOnly
Command registered in the backend but never invoked from the frontend.
Trait Implementations§
Source§impl Clone for GhostSource
impl Clone for GhostSource
Source§fn clone(&self) -> GhostSource
fn clone(&self) -> GhostSource
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 moreSource§impl Debug for GhostSource
impl Debug for GhostSource
Source§impl<'de> Deserialize<'de> for GhostSource
impl<'de> Deserialize<'de> for GhostSource
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 GhostSource
impl Display for GhostSource
Source§impl PartialEq for GhostSource
impl PartialEq for GhostSource
Source§fn eq(&self, other: &GhostSource) -> bool
fn eq(&self, other: &GhostSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GhostSource
impl Serialize for GhostSource
impl Eq for GhostSource
impl StructuralPartialEq for GhostSource
Auto Trait Implementations§
impl Freeze for GhostSource
impl RefUnwindSafe for GhostSource
impl Send for GhostSource
impl Sync for GhostSource
impl Unpin for GhostSource
impl UnsafeUnpin for GhostSource
impl UnwindSafe for GhostSource
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