pub struct Address {
pub address: Ipv4AddressWithPrefix,
pub address_parameters: AddressParameters,
pub address_state_provider: ServerEnd<AddressStateProviderMarker>,
}
Expand description
An IPv4 address acquired by the DHCP client.
Fields§
§address: Ipv4AddressWithPrefix
The acquired address and discovered prefix length.
address_parameters: AddressParameters
Parameters for the acquired address.
address_state_provider: ServerEnd<AddressStateProviderMarker>
The server end for the AddressStateProvider owned by the DHCP client.
Implementations§
Source§impl Address
impl Address
Sourcepub fn add_to(
self,
control: &Control,
) -> Result<(), (Ipv4AddressWithPrefix, TerminalError<InterfaceRemovedReason>)>
pub fn add_to( self, control: &Control, ) -> Result<(), (Ipv4AddressWithPrefix, TerminalError<InterfaceRemovedReason>)>
Adds this address via fuchsia.net.interfaces.admin.Control
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Address
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnwindSafe for Address
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, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§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, 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.