pub enum DiscoveryPayloadUnionReader<'r> {
GetNodes(GetNodesReader<'r>),
Nodes(NodesReader<'r>),
}
Variants§
GetNodes(GetNodesReader<'r>)
Nodes(NodesReader<'r>)
Implementations§
Trait Implementations§
Source§impl<'r> Clone for DiscoveryPayloadUnionReader<'r>
impl<'r> Clone for DiscoveryPayloadUnionReader<'r>
Source§fn clone(&self) -> DiscoveryPayloadUnionReader<'r>
fn clone(&self) -> DiscoveryPayloadUnionReader<'r>
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<'r> Debug for DiscoveryPayloadUnionReader<'r>
impl<'r> Debug for DiscoveryPayloadUnionReader<'r>
Source§impl<'r> Display for DiscoveryPayloadUnionReader<'r>
impl<'r> Display for DiscoveryPayloadUnionReader<'r>
Source§impl<'r> From<GetNodesReader<'r>> for DiscoveryPayloadUnionReader<'r>
impl<'r> From<GetNodesReader<'r>> for DiscoveryPayloadUnionReader<'r>
Source§fn from(item: GetNodesReader<'r>) -> DiscoveryPayloadUnionReader<'r>
fn from(item: GetNodesReader<'r>) -> DiscoveryPayloadUnionReader<'r>
Converts to this type from the input type.
Source§impl<'r> From<NodesReader<'r>> for DiscoveryPayloadUnionReader<'r>
impl<'r> From<NodesReader<'r>> for DiscoveryPayloadUnionReader<'r>
Source§fn from(item: NodesReader<'r>) -> DiscoveryPayloadUnionReader<'r>
fn from(item: NodesReader<'r>) -> DiscoveryPayloadUnionReader<'r>
Converts to this type from the input type.
impl<'r> Copy for DiscoveryPayloadUnionReader<'r>
Auto Trait Implementations§
impl<'r> Freeze for DiscoveryPayloadUnionReader<'r>
impl<'r> RefUnwindSafe for DiscoveryPayloadUnionReader<'r>
impl<'r> Send for DiscoveryPayloadUnionReader<'r>
impl<'r> Sync for DiscoveryPayloadUnionReader<'r>
impl<'r> Unpin for DiscoveryPayloadUnionReader<'r>
impl<'r> UnwindSafe for DiscoveryPayloadUnionReader<'r>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)