pub struct CommandTraits {
pub is_read: bool,
pub quit: bool,
pub routing: RoutingOverride,
}Expand description
Routing override the parser stamps on a request based on its
command type. None means the default Normal routing.
Fields§
§is_read: boolTrue when the command is a read.
quit: boolTrue when the command sets the quit flag.
routing: RoutingOverrideRouting override class, if any.
Trait Implementations§
Source§impl Clone for CommandTraits
impl Clone for CommandTraits
Source§fn clone(&self) -> CommandTraits
fn clone(&self) -> CommandTraits
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 CommandTraits
impl Debug for CommandTraits
Source§impl Default for CommandTraits
impl Default for CommandTraits
Source§fn default() -> CommandTraits
fn default() -> CommandTraits
Returns the “default value” for a type. Read more
Source§impl PartialEq for CommandTraits
impl PartialEq for CommandTraits
Source§fn eq(&self, other: &CommandTraits) -> bool
fn eq(&self, other: &CommandTraits) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CommandTraits
impl Eq for CommandTraits
impl StructuralPartialEq for CommandTraits
Auto Trait Implementations§
impl Freeze for CommandTraits
impl RefUnwindSafe for CommandTraits
impl Send for CommandTraits
impl Sync for CommandTraits
impl Unpin for CommandTraits
impl UnsafeUnpin for CommandTraits
impl UnwindSafe for CommandTraits
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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§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.