pub struct CachesController { /* private fields */ }
Implementations§
Source§impl CachesController
impl CachesController
pub async fn is_resolve_cached(&self) -> bool
pub async fn is_host_cached(&self) -> bool
pub async fn clone_resolve_list(&self) -> CDnsResult<Arc<ResolveConfig>>
pub async fn clone_host_list(&self) -> CDnsResult<Arc<HostConfig>>
Trait Implementations§
impl Send for CachesController
impl Sync for CachesController
Auto Trait Implementations§
impl !Freeze for CachesController
impl !RefUnwindSafe for CachesController
impl Unpin for CachesController
impl UnwindSafe for CachesController
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