pub struct DiscoveredPayload {}
Expand description
Payload for Discovered events.
Trait Implementations§
Source§impl Clone for DiscoveredPayload
impl Clone for DiscoveredPayload
Source§fn clone(&self) -> DiscoveredPayload
fn clone(&self) -> DiscoveredPayload
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 Debug for DiscoveredPayload
impl Debug for DiscoveredPayload
Source§impl Encodable for DiscoveredPayload
impl Encodable for DiscoveredPayload
Source§type Encoded = WireDiscoveredPayload
type Encoded = WireDiscoveredPayload
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl<___E> Encode<___E> for DiscoveredPayloadwhere
___E: Encoder + ?Sized,
impl<___E> Encode<___E> for DiscoveredPayloadwhere
___E: Encoder + ?Sized,
Source§impl TakeFrom<WireDiscoveredPayload> for DiscoveredPayload
impl TakeFrom<WireDiscoveredPayload> for DiscoveredPayload
Source§fn take_from(from: &WireDiscoveredPayload) -> Self
fn take_from(from: &WireDiscoveredPayload) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreAuto Trait Implementations§
impl Freeze for DiscoveredPayload
impl RefUnwindSafe for DiscoveredPayload
impl Send for DiscoveredPayload
impl Sync for DiscoveredPayload
impl Unpin for DiscoveredPayload
impl UnwindSafe for DiscoveredPayload
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