pub enum ProcedureKind {
Method,
Notification,
Query,
Command,
}Expand description
Protocol-neutral procedure kind labels.
Variants§
Method
A stable label variant.
Notification
A stable label variant.
Query
A stable label variant.
Command
A stable label variant.
Implementations§
Trait Implementations§
Source§impl Clone for ProcedureKind
impl Clone for ProcedureKind
Source§fn clone(&self) -> ProcedureKind
fn clone(&self) -> ProcedureKind
Returns a duplicate of the value. Read more
1.0.0 · 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 ProcedureKind
impl Debug for ProcedureKind
Source§impl Default for ProcedureKind
impl Default for ProcedureKind
Source§impl Display for ProcedureKind
impl Display for ProcedureKind
Source§impl FromStr for ProcedureKind
impl FromStr for ProcedureKind
Source§impl Hash for ProcedureKind
impl Hash for ProcedureKind
Source§impl Ord for ProcedureKind
impl Ord for ProcedureKind
Source§fn cmp(&self, other: &ProcedureKind) -> Ordering
fn cmp(&self, other: &ProcedureKind) -> Ordering
1.21.0 · 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
Source§impl PartialEq for ProcedureKind
impl PartialEq for ProcedureKind
Source§impl PartialOrd for ProcedureKind
impl PartialOrd for ProcedureKind
impl Copy for ProcedureKind
impl Eq for ProcedureKind
impl StructuralPartialEq for ProcedureKind
Auto Trait Implementations§
impl Freeze for ProcedureKind
impl RefUnwindSafe for ProcedureKind
impl Send for ProcedureKind
impl Sync for ProcedureKind
impl Unpin for ProcedureKind
impl UnsafeUnpin for ProcedureKind
impl UnwindSafe for ProcedureKind
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