Struct cdns_rs::sync::caches::CachesController
source · pub struct CachesController { /* private fields */ }
Implementations§
source§impl CachesController
impl CachesController
pub fn is_resolve_cached(&self) -> bool
pub fn is_host_cached(&self) -> bool
sourcepub fn clone_resolve_list(&self) -> CDnsResult<Arc<ResolveConfig>>
pub fn clone_resolve_list(&self) -> CDnsResult<Arc<ResolveConfig>>
Clones the ResolveConfig Arc (atomic reference counter) reference.
sourcepub fn clone_host_list(&self) -> CDnsResult<Arc<HostConfig>>
pub fn clone_host_list(&self) -> CDnsResult<Arc<HostConfig>>
Clones the HostConfig Arc (atomic reference counter) reference.
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