Struct agreed::storage::CurrentSnapshotData [−][src]
pub struct CurrentSnapshotData<S> where
S: AsyncRead + AsyncSeek + Send + Unpin + 'static, { pub term: u64, pub index: u64, pub membership: MembershipConfig, pub snapshot: Box<S>, }
Expand description
The data associated with the current snapshot.
Fields
term: u64
The snapshot entry’s term.
index: u64
The snapshot entry’s index.
membership: MembershipConfig
The latest membership configuration covered by the snapshot.
snapshot: Box<S>
A read handle to the associated snapshot.
Auto Trait Implementations
impl<S> RefUnwindSafe for CurrentSnapshotData<S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
impl<S> Send for CurrentSnapshotData<S>
impl<S> Sync for CurrentSnapshotData<S> where
S: Sync,
S: Sync,
impl<S> Unpin for CurrentSnapshotData<S>
impl<S> UnwindSafe for CurrentSnapshotData<S> where
S: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
fn with_current_subscriber(self) -> WithDispatch<Self>
[src]
fn with_current_subscriber(self) -> WithDispatch<Self>
[src]Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more