pub struct ReachabilityHandler { /* private fields */ }
Implementations§
Source§impl ReachabilityHandler
impl ReachabilityHandler
pub fn new() -> Self
pub async fn replace_state(&mut self, new_state: ReachabilityState)
pub fn publish_service<'a, 'b>( &mut self, svc_dir: ServiceFsDir<'a, ServiceObjLocal<'b, ()>>, )
Auto Trait Implementations§
impl Freeze for ReachabilityHandler
impl !RefUnwindSafe for ReachabilityHandler
impl !Send for ReachabilityHandler
impl !Sync for ReachabilityHandler
impl Unpin for ReachabilityHandler
impl !UnwindSafe for ReachabilityHandler
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