pub enum RpcDirection {
Outbound,
Inbound,
}Expand description
Direction of the observed RPC boundary relative to the local
node — Outbound for calls this node initiated, Inbound
for handler invocations on this node. v1 emits only
Outbound; Inbound is reserved for a future server-side
hook.
Variants§
Trait Implementations§
Source§impl Clone for RpcDirection
impl Clone for RpcDirection
Source§fn clone(&self) -> RpcDirection
fn clone(&self) -> RpcDirection
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 RpcDirection
impl Debug for RpcDirection
Source§impl PartialEq for RpcDirection
impl PartialEq for RpcDirection
Source§fn eq(&self, other: &RpcDirection) -> bool
fn eq(&self, other: &RpcDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RpcDirection
impl Eq for RpcDirection
impl StructuralPartialEq for RpcDirection
Auto Trait Implementations§
impl Freeze for RpcDirection
impl RefUnwindSafe for RpcDirection
impl Send for RpcDirection
impl Sync for RpcDirection
impl Unpin for RpcDirection
impl UnsafeUnpin for RpcDirection
impl UnwindSafe for RpcDirection
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.