pub enum MethodClass {
Read,
Write,
Admin,
}Expand description
Broad method class, used by the audit log and the public-port filter.
Variants§
Read
Read-only lookup.
Write
State-changing call.
Admin
Operator-only admin (stop_node, ban_peer, etc.).
Trait Implementations§
Source§impl Clone for MethodClass
impl Clone for MethodClass
Source§fn clone(&self) -> MethodClass
fn clone(&self) -> MethodClass
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 moreimpl Copy for MethodClass
Source§impl Debug for MethodClass
impl Debug for MethodClass
impl Eq for MethodClass
Source§impl PartialEq for MethodClass
impl PartialEq for MethodClass
Source§fn eq(&self, other: &MethodClass) -> bool
fn eq(&self, other: &MethodClass) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MethodClass
Auto Trait Implementations§
impl Freeze for MethodClass
impl RefUnwindSafe for MethodClass
impl Send for MethodClass
impl Sync for MethodClass
impl Unpin for MethodClass
impl UnsafeUnpin for MethodClass
impl UnwindSafe for MethodClass
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.