pub struct RemoteRetentionSegment {
pub blocked: bool,
pub log_start_breached: bool,
pub time_expired: bool,
pub size: u64,
}Expand description
What the remote retention walk knows about one finished remote segment.
Fields§
§blocked: boolA scheduled batch is not due, or its activation cannot be established. Every retention axis stops before this segment.
log_start_breached: boolThe segment’s whole offset range lies below the log start offset.
time_expired: boolThe segment breaches retention.ms.
size: u64The segment’s exact size in bytes.
Trait Implementations§
Source§impl Clone for RemoteRetentionSegment
impl Clone for RemoteRetentionSegment
Source§fn clone(&self) -> RemoteRetentionSegment
fn clone(&self) -> RemoteRetentionSegment
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 moreimpl Copy for RemoteRetentionSegment
Source§impl Debug for RemoteRetentionSegment
impl Debug for RemoteRetentionSegment
impl Eq for RemoteRetentionSegment
Source§impl PartialEq for RemoteRetentionSegment
impl PartialEq for RemoteRetentionSegment
impl StructuralPartialEq for RemoteRetentionSegment
Auto Trait Implementations§
impl Freeze for RemoteRetentionSegment
impl RefUnwindSafe for RemoteRetentionSegment
impl Send for RemoteRetentionSegment
impl Sync for RemoteRetentionSegment
impl Unpin for RemoteRetentionSegment
impl UnsafeUnpin for RemoteRetentionSegment
impl UnwindSafe for RemoteRetentionSegment
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