pub enum ChannelKind {
Standard,
Command,
Unknown(Unknown),
}Expand description
Classifies how a channel is used. COMMAND channels accept commands through the Command Service.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ChannelKind
impl Clone for ChannelKind
Source§fn clone(&self) -> ChannelKind
fn clone(&self) -> ChannelKind
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 ChannelKind
impl Debug for ChannelKind
Source§impl<'de> Deserialize<'de> for ChannelKind
impl<'de> Deserialize<'de> for ChannelKind
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 ChannelKind
impl Display for ChannelKind
impl Eq for ChannelKind
Source§impl FromPlain for ChannelKind
impl FromPlain for ChannelKind
Source§type Err = ParseEnumError
type Err = ParseEnumError
The error type returned when parsing fails.
Source§fn from_plain(v: &str) -> Result<ChannelKind, ParseEnumError>
fn from_plain(v: &str) -> Result<ChannelKind, ParseEnumError>
Parse a value from its Conjure PLAIN string representation.
Source§impl FromStr for ChannelKind
impl FromStr for ChannelKind
Source§type Err = ParseEnumError
type Err = ParseEnumError
The associated error which can be returned from parsing.
Source§fn from_str(v: &str) -> Result<ChannelKind, ParseEnumError>
fn from_str(v: &str) -> Result<ChannelKind, ParseEnumError>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for ChannelKind
impl Hash for ChannelKind
impl LogSafe for ChannelKind
Source§impl Ord for ChannelKind
impl Ord for ChannelKind
Source§fn cmp(&self, other: &ChannelKind) -> Ordering
fn cmp(&self, other: &ChannelKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ChannelKind
impl PartialEq for ChannelKind
Source§impl PartialOrd for ChannelKind
impl PartialOrd for ChannelKind
Source§impl Plain for ChannelKind
impl Plain for ChannelKind
Source§impl Serialize for ChannelKind
impl Serialize for ChannelKind
impl StructuralPartialEq for ChannelKind
Auto Trait Implementations§
impl Freeze for ChannelKind
impl RefUnwindSafe for ChannelKind
impl Send for ChannelKind
impl Sync for ChannelKind
impl Unpin for ChannelKind
impl UnsafeUnpin for ChannelKind
impl UnwindSafe for ChannelKind
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.