pub enum DispatcherScope {
Host,
SourceScoped,
Headless,
}Expand description
Enumerates the finite dispatcher scope cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
Host
Use this variant when the contract needs to represent host; selecting it has no side effect by itself.
SourceScoped
Use this variant when the contract needs to represent source scoped; selecting it has no side effect by itself.
Headless
Use this variant when the contract needs to represent headless; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for DispatcherScope
impl Clone for DispatcherScope
Source§fn clone(&self) -> DispatcherScope
fn clone(&self) -> DispatcherScope
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 DispatcherScope
impl Debug for DispatcherScope
Source§impl<'de> Deserialize<'de> for DispatcherScope
impl<'de> Deserialize<'de> for DispatcherScope
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 PartialEq for DispatcherScope
impl PartialEq for DispatcherScope
Source§fn eq(&self, other: &DispatcherScope) -> bool
fn eq(&self, other: &DispatcherScope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DispatcherScope
impl Serialize for DispatcherScope
impl Eq for DispatcherScope
impl StructuralPartialEq for DispatcherScope
Auto Trait Implementations§
impl Freeze for DispatcherScope
impl RefUnwindSafe for DispatcherScope
impl Send for DispatcherScope
impl Sync for DispatcherScope
impl Unpin for DispatcherScope
impl UnsafeUnpin for DispatcherScope
impl UnwindSafe for DispatcherScope
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