pub(crate) struct ConnectivityStore(Arc<Mutex<DetailedConnectivity>>);
Tuple Fields§
§0: Arc<Mutex<DetailedConnectivity>>
Implementations§
source§impl ConnectivityStore
impl ConnectivityStore
async fn set(&self, context: &Context, v: DetailedConnectivity)
pub(crate) async fn set_err(&self, context: &Context, e: impl ToString)
pub(crate) async fn set_connecting(&self, context: &Context)
pub(crate) async fn set_working(&self, context: &Context)
pub(crate) async fn set_preparing(&self, context: &Context)
pub(crate) async fn set_not_configured(&self, context: &Context)
pub(crate) async fn set_idle(&self, context: &Context)
async fn get_detailed(&self) -> DetailedConnectivity
async fn get_basic(&self) -> Option<Connectivity>
async fn get_all_work_done(&self) -> bool
Trait Implementations§
source§impl Clone for ConnectivityStore
impl Clone for ConnectivityStore
source§fn clone(&self) -> ConnectivityStore
fn clone(&self) -> ConnectivityStore
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConnectivityStore
impl Debug for ConnectivityStore
source§impl Default for ConnectivityStore
impl Default for ConnectivityStore
source§fn default() -> ConnectivityStore
fn default() -> ConnectivityStore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConnectivityStore
impl !RefUnwindSafe for ConnectivityStore
impl Send for ConnectivityStore
impl Sync for ConnectivityStore
impl Unpin for ConnectivityStore
impl !UnwindSafe for ConnectivityStore
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)