pub enum ProviderStoreMutation {
Connect {
durable_receipt: DurableProviderReceipt,
durable_connection: DurableConnectionDescriptor,
},
Disconnect {
durable_receipt: DurableProviderReceipt,
provider_id: ProviderId,
disconnected: bool,
},
}Expand description
Safe mutation receipt returned by a proposal, replay, or commit.
Variants§
Implementations§
Source§impl ProviderStoreMutation
impl ProviderStoreMutation
pub fn durable_receipt(&self) -> &DurableProviderReceipt
Trait Implementations§
Source§impl Clone for ProviderStoreMutation
impl Clone for ProviderStoreMutation
Source§fn clone(&self) -> ProviderStoreMutation
fn clone(&self) -> ProviderStoreMutation
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 moreSource§impl Debug for ProviderStoreMutation
impl Debug for ProviderStoreMutation
impl Eq for ProviderStoreMutation
Source§impl PartialEq for ProviderStoreMutation
impl PartialEq for ProviderStoreMutation
Source§fn eq(&self, other: &ProviderStoreMutation) -> bool
fn eq(&self, other: &ProviderStoreMutation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProviderStoreMutation
Auto Trait Implementations§
impl Freeze for ProviderStoreMutation
impl RefUnwindSafe for ProviderStoreMutation
impl Send for ProviderStoreMutation
impl Sync for ProviderStoreMutation
impl Unpin for ProviderStoreMutation
impl UnsafeUnpin for ProviderStoreMutation
impl UnwindSafe for ProviderStoreMutation
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