pub struct DhcpClientTask { /* private fields */ }
Expand description
Task for polling the DHCP client.
Implementations§
Source§impl DhcpClientTask
impl DhcpClientTask
Sourcepub fn new(
client: ClientProxy,
id: NonZeroU64,
route_set: RouteSetV4Proxy,
control: Control,
) -> DhcpClientTask
pub fn new( client: ClientProxy, id: NonZeroU64, route_set: RouteSetV4Proxy, control: Control, ) -> DhcpClientTask
Creates and returns an async task that polls the DHCP client.
Auto Trait Implementations§
impl Freeze for DhcpClientTask
impl !RefUnwindSafe for DhcpClientTask
impl Send for DhcpClientTask
impl Sync for DhcpClientTask
impl Unpin for DhcpClientTask
impl !UnwindSafe for DhcpClientTask
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