Struct SegmentLookup
pub struct SegmentLookup {
pub event: Option<LogEvent>,
pub incomplete: bool,
}Expand description
Outcome of find_event_across_segments.
Fields§
§event: Option<LogEvent>The event, when a segment held it.
incomplete: boolTrue when a segment of this stream could not be read and was skipped.
Only meaningful alongside event: None. A hit is authoritative however
many other segments were skipped, but a miss is not: the id may be
sitting in the segment that could not be opened, and answering “no such
event” would be a guess presented as a fact.
Trait Implementations§
Source§impl Clone for SegmentLookup
impl Clone for SegmentLookup
Source§fn clone(&self) -> SegmentLookup
fn clone(&self) -> SegmentLookup
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §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 SegmentLookup
impl RefUnwindSafe for SegmentLookup
impl Send for SegmentLookup
impl Sync for SegmentLookup
impl Unpin for SegmentLookup
impl UnsafeUnpin for SegmentLookup
impl UnwindSafe for SegmentLookup
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