pub enum DnsEntry<K: EnrKeyUnambiguous> {
Root(TreeRootEntry),
Link(LinkEntry<K>),
Branch(BranchEntry),
Node(NodeEntry<K>),
}
Expand description
Represents all variants of DNS entries for Ethereum node lists.
Variants§
Root(TreeRootEntry)
Represents a root entry in the DNS tree containing node records.
Link(LinkEntry<K>)
Represents a link entry in the DNS tree pointing to another node list.
Branch(BranchEntry)
Represents a branch entry in the DNS tree containing hashes of subtree entries.
Node(NodeEntry<K>)
Represents a leaf entry in the DNS tree containing a node record.
Trait Implementations§
Auto Trait Implementations§
impl<K> !Freeze for DnsEntry<K>
impl<K> RefUnwindSafe for DnsEntry<K>where
<K as EnrKey>::PublicKey: RefUnwindSafe,
K: RefUnwindSafe,
impl<K> Send for DnsEntry<K>
impl<K> Sync for DnsEntry<K>
impl<K> Unpin for DnsEntry<K>
impl<K> UnwindSafe for DnsEntry<K>where
<K as EnrKey>::PublicKey: UnwindSafe,
K: UnwindSafe,
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> MaybeSendSync for T
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.