Enum rings_node::prelude::vnode::VNodeType
source · pub enum VNodeType {
Data,
Subring,
RelayMessage,
}Expand description
VNode Types
Variants§
Data
Encoded data stored in DHT
Subring
Finger table of a Subring
RelayMessage
A relayed but unreached message, which should be stored on the successor of the destination Did.
Trait Implementations§
source§impl<'de> Deserialize<'de> for VNodeType
impl<'de> Deserialize<'de> for VNodeType
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<VNodeType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<VNodeType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<VNodeType> for VNodeType
impl PartialEq<VNodeType> for VNodeType
source§impl Serialize for VNodeType
impl Serialize for VNodeType
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 Copy for VNodeType
impl Eq for VNodeType
impl StructuralEq for VNodeType
impl StructuralPartialEq for VNodeType
Auto Trait Implementations§
impl RefUnwindSafe for VNodeType
impl Send for VNodeType
impl Sync for VNodeType
impl Unpin for VNodeType
impl UnwindSafe for VNodeType
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.