pub struct DiscoverySupport<'de> { /* private fields */ }Expand description
The wire type corresponding to DiscoverySupport.
Implementations§
Source§impl<'de> DiscoverySupport<'de>
impl<'de> DiscoverySupport<'de>
pub fn scan_offload(&self) -> Option<&ScanOffloadExtension<'de>>
pub fn take_scan_offload(&mut self) -> Option<ScanOffloadExtension<'de>>
pub fn probe_response_offload( &self, ) -> Option<&ProbeResponseOffloadExtension<'de>>
pub fn take_probe_response_offload( &mut self, ) -> Option<ProbeResponseOffloadExtension<'de>>
Trait Implementations§
Source§impl Constrained for DiscoverySupport<'_>
impl Constrained for DiscoverySupport<'_>
Source§impl<'de> Debug for DiscoverySupport<'de>
impl<'de> Debug for DiscoverySupport<'de>
Source§impl<'de, ___D> Decode<___D> for DiscoverySupport<'de>where
___D: Decoder<'de> + ?Sized,
impl<'de, ___D> Decode<___D> for DiscoverySupport<'de>where
___D: Decoder<'de> + ?Sized,
Source§impl<'de> Drop for DiscoverySupport<'de>
impl<'de> Drop for DiscoverySupport<'de>
Source§impl<'a, ___E> Encode<DiscoverySupport<'static>, ___E> for &'a DiscoverySupportwhere
___E: Encoder + ?Sized,
impl<'a, ___E> Encode<DiscoverySupport<'static>, ___E> for &'a DiscoverySupportwhere
___E: Encoder + ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<DiscoverySupport<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<DiscoverySupport<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E> Encode<DiscoverySupport<'static>, ___E> for DiscoverySupportwhere
___E: Encoder + ?Sized,
impl<___E> Encode<DiscoverySupport<'static>, ___E> for DiscoverySupportwhere
___E: Encoder + ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<DiscoverySupport<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<DiscoverySupport<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'de> FromWire<DiscoverySupport<'de>> for DiscoverySupport
impl<'de> FromWire<DiscoverySupport<'de>> for DiscoverySupport
Source§fn from_wire(wire_: DiscoverySupport<'de>) -> Self
fn from_wire(wire_: DiscoverySupport<'de>) -> Self
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireRef<DiscoverySupport<'de>> for DiscoverySupport
impl<'de> FromWireRef<DiscoverySupport<'de>> for DiscoverySupport
Source§fn from_wire_ref(wire: &DiscoverySupport<'de>) -> Self
fn from_wire_ref(wire: &DiscoverySupport<'de>) -> Self
Converts the given reference to this type.
Source§impl<'de> IntoNatural for DiscoverySupport<'de>
impl<'de> IntoNatural for DiscoverySupport<'de>
Source§type Natural = DiscoverySupport
type Natural = DiscoverySupport
A good default type for this wire type to convert into.
§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl Wire for DiscoverySupport<'static>
impl Wire for DiscoverySupport<'static>
Source§type Narrowed<'de> = DiscoverySupport<'de>
type Narrowed<'de> = DiscoverySupport<'de>
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(out: &mut MaybeUninit<Self>)
fn zero_padding(out: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl<'de> Freeze for DiscoverySupport<'de>
impl<'de> RefUnwindSafe for DiscoverySupport<'de>
impl<'de> Send for DiscoverySupport<'de>
impl<'de> Sync for DiscoverySupport<'de>
impl<'de> Unpin for DiscoverySupport<'de>
impl<'de> UnsafeUnpin for DiscoverySupport<'de>
impl<'de> !UnwindSafe for DiscoverySupport<'de>
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
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]