pub struct ProviderStoreSnapshot { /* private fields */ }Expand description
Immutable provider-store state used for complete candidate compilation.
Implementations§
Source§impl ProviderStoreSnapshot
impl ProviderStoreSnapshot
pub const fn generation(&self) -> ProviderStoreGeneration
pub fn store_revision(&self) -> &ProviderStoreRevision
pub fn provider_state_revision(&self) -> ProviderStateRevision
pub fn expectation(&self) -> ProviderStoreExpectation
pub fn providers(&self) -> &BTreeMap<ProviderId, StoredManagedConnection>
pub fn provider(&self, id: &ProviderId) -> Option<&StoredManagedConnection>
pub fn connect_receipt( &self, id: &ClientConnectId, ) -> Option<ProviderStoreMutation>
pub fn disconnect_receipt( &self, id: &ClientRequestId, ) -> Option<ProviderStoreMutation>
Trait Implementations§
Source§impl Clone for ProviderStoreSnapshot
impl Clone for ProviderStoreSnapshot
Source§fn clone(&self) -> ProviderStoreSnapshot
fn clone(&self) -> ProviderStoreSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProviderStoreSnapshot
impl RefUnwindSafe for ProviderStoreSnapshot
impl Send for ProviderStoreSnapshot
impl Sync for ProviderStoreSnapshot
impl Unpin for ProviderStoreSnapshot
impl UnsafeUnpin for ProviderStoreSnapshot
impl UnwindSafe for ProviderStoreSnapshot
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