Enum jsonrpsee_server::logger::MethodKind
source · pub enum MethodKind {
Subscription,
Unsubscription,
MethodCall,
Unknown,
}
Expand description
The type JSON-RPC v2 call, it can be a subscription, method call or unknown.
Variants§
Subscription
Subscription Call.
Unsubscription
Unsubscription Call.
MethodCall
Method call.
Unknown
Unknown method.
Trait Implementations§
source§impl Clone for MethodKind
impl Clone for MethodKind
source§fn clone(&self) -> MethodKind
fn clone(&self) -> MethodKind
Returns a copy 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 MethodKind
impl Debug for MethodKind
source§impl Display for MethodKind
impl Display for MethodKind
impl Copy for MethodKind
Auto Trait Implementations§
impl RefUnwindSafe for MethodKind
impl Send for MethodKind
impl Sync for MethodKind
impl Unpin for MethodKind
impl UnwindSafe for MethodKind
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