pub struct ReplicaView {
pub raw: RawState,
pub consumer_live: Option<bool>,
}Expand description
One replica’s view of a lifecycle key after settling.
Fields§
§raw: RawStateThe replica’s raw read.
consumer_live: Option<bool>Whether the replica’s consumer read (get) returned a record; None if
that read failed.
Trait Implementations§
Source§impl Clone for ReplicaView
impl Clone for ReplicaView
Source§fn clone(&self) -> ReplicaView
fn clone(&self) -> ReplicaView
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 ReplicaView
impl RefUnwindSafe for ReplicaView
impl Send for ReplicaView
impl Sync for ReplicaView
impl Unpin for ReplicaView
impl UnsafeUnpin for ReplicaView
impl UnwindSafe for ReplicaView
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request