Struct dhcpv4::configuration::PermittedMacs
source · pub struct PermittedMacs(pub Vec<MacAddress>);
Expand description
A list of MAC addresses which are permitted to request a lease.
Tuple Fields§
§0: Vec<MacAddress>
Trait Implementations§
source§impl Clone for PermittedMacs
impl Clone for PermittedMacs
source§fn clone(&self) -> PermittedMacs
fn clone(&self) -> PermittedMacs
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 PermittedMacs
impl Debug for PermittedMacs
source§impl<'de> Deserialize<'de> for PermittedMacs
impl<'de> Deserialize<'de> for PermittedMacs
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FidlCompatible<Vec<MacAddress, Global>> for PermittedMacs
impl FidlCompatible<Vec<MacAddress, Global>> for PermittedMacs
type FromError = Infallible
type IntoError = Infallible
fn try_from_fidl(fidl: Vec<MacAddress>) -> Result<Self, Self::FromError>
fn try_into_fidl(self) -> Result<Vec<MacAddress>, Self::IntoError>
source§impl PartialEq<PermittedMacs> for PermittedMacs
impl PartialEq<PermittedMacs> for PermittedMacs
source§fn eq(&self, other: &PermittedMacs) -> bool
fn eq(&self, other: &PermittedMacs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PermittedMacs
impl Serialize for PermittedMacs
impl StructuralPartialEq for PermittedMacs
Auto Trait Implementations§
impl RefUnwindSafe for PermittedMacs
impl Send for PermittedMacs
impl Sync for PermittedMacs
impl Unpin for PermittedMacs
impl UnwindSafe for PermittedMacs
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> Encode<Ambiguous1> for T
impl<T> Encode<Ambiguous1> for T
§impl<T> Encode<Ambiguous2> for T
impl<T> Encode<Ambiguous2> for T
§impl<F, C> FromFidlExt<F> for Cwhere
C: FidlCompatible<F, FromError = Infallible>,
impl<F, C> FromFidlExt<F> for Cwhere C: FidlCompatible<F, FromError = Infallible>,
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<F, C> IntoFidlExt<F> for Cwhere
C: FidlCompatible<F, IntoError = Infallible>,
impl<F, C> IntoFidlExt<F> for Cwhere C: FidlCompatible<F, IntoError = Infallible>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.