pub enum PeerRpcCallKind {
Query,
Command,
}Expand description
Kind of direct peer call.
Variants§
Trait Implementations§
Source§impl Clone for PeerRpcCallKind
impl Clone for PeerRpcCallKind
Source§fn clone(&self) -> PeerRpcCallKind
fn clone(&self) -> PeerRpcCallKind
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 PeerRpcCallKind
Source§impl Debug for PeerRpcCallKind
impl Debug for PeerRpcCallKind
Source§impl<'de> Deserialize<'de> for PeerRpcCallKind
impl<'de> Deserialize<'de> for PeerRpcCallKind
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PeerRpcCallKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PeerRpcCallKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PeerRpcCallKind
Source§impl PartialEq for PeerRpcCallKind
impl PartialEq for PeerRpcCallKind
Source§impl Serialize for PeerRpcCallKind
impl Serialize for PeerRpcCallKind
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for PeerRpcCallKind
Auto Trait Implementations§
impl Freeze for PeerRpcCallKind
impl RefUnwindSafe for PeerRpcCallKind
impl Send for PeerRpcCallKind
impl Sync for PeerRpcCallKind
impl Unpin for PeerRpcCallKind
impl UnsafeUnpin for PeerRpcCallKind
impl UnwindSafe for PeerRpcCallKind
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