pub enum WatchItem {
DnsServers(Vec<DnsServer_>),
Address {
addr: Subnet,
parameters: AddressParameters,
address_state_provider_server_end: ServerEnd<AddressStateProviderMarker>,
},
}
Expand description
Responses from watch methods on fuchsia.net.dhcpv6/Client
.
Variants§
DnsServers(Vec<DnsServer_>)
Return value of fuchsia.net.dhcpv6/Client.WatchServers
.
Address
Return value of fuchsia.net.dhcpv6/Client.WatchAddress
.
Fields
§
parameters: AddressParameters
Address parameters.
§
address_state_provider_server_end: ServerEnd<AddressStateProviderMarker>
Server end of a fuchsia.net.interfaces.admin/AddressStateProvider
protocol channel.
Implementations§
Source§impl WatchItem
impl WatchItem
Sourcepub fn new_address(
addr: Subnet,
parameters: AddressParameters,
address_state_provider_server_end: ServerEnd<AddressStateProviderMarker>,
) -> Self
pub fn new_address( addr: Subnet, parameters: AddressParameters, address_state_provider_server_end: ServerEnd<AddressStateProviderMarker>, ) -> Self
Constructs a new WatchItem::Address
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WatchItem
impl RefUnwindSafe for WatchItem
impl Send for WatchItem
impl Sync for WatchItem
impl Unpin for WatchItem
impl UnwindSafe for WatchItem
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