pub struct TailReaderConfig { /* private fields */ }Implementations§
Source§impl TailReaderConfig
impl TailReaderConfig
pub fn new( cluster_id: impl Into<String>, epoch: u64, config_id: u64, membership: Membership, recovery_generation: u64, token: impl Into<String>, ) -> Result<Self, TailReaderConfigError>
pub fn cluster_id(&self) -> &str
pub const fn epoch(&self) -> u64
pub const fn config_id(&self) -> u64
pub const fn membership(&self) -> &Membership
pub const fn membership_digest(&self) -> LogHash
pub const fn recovery_generation(&self) -> u64
Trait Implementations§
Source§impl Clone for TailReaderConfig
impl Clone for TailReaderConfig
Source§fn clone(&self) -> TailReaderConfig
fn clone(&self) -> TailReaderConfig
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 TailReaderConfig
impl Debug for TailReaderConfig
impl Eq for TailReaderConfig
Source§impl PartialEq for TailReaderConfig
impl PartialEq for TailReaderConfig
impl StructuralPartialEq for TailReaderConfig
Auto Trait Implementations§
impl Freeze for TailReaderConfig
impl RefUnwindSafe for TailReaderConfig
impl Send for TailReaderConfig
impl Sync for TailReaderConfig
impl Unpin for TailReaderConfig
impl UnsafeUnpin for TailReaderConfig
impl UnwindSafe for TailReaderConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more