pub struct DhcpService { /* private fields */ }Implementations§
Source§impl DhcpService
impl DhcpService
pub async fn new( netinfo: SharedNetInfo, conf: SharedConfig, ) -> Result<Self, String>
pub async fn run(self: Arc<Self>) -> Result<(), String>
pub async fn update_metrics(self: &Arc<Self>)
pub async fn get_leases(self: &Arc<Self>) -> Vec<LeaseInfo>
Auto Trait Implementations§
impl !Freeze for DhcpService
impl !RefUnwindSafe for DhcpService
impl Send for DhcpService
impl Sync for DhcpService
impl Unpin for DhcpService
impl UnsafeUnpin for DhcpService
impl !UnwindSafe for DhcpService
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