pub struct StreamingReport {
pub outcomes: Vec<StreamedOutcome>,
pub halted: Option<StreamHalt>,
}Expand description
The outcome of a streaming import run.
Fields§
§outcomes: Vec<StreamedOutcome>Per-file outcomes in window order.
halted: Option<StreamHalt>Set when the window halted before draining the plan; None on a clean drain.
Implementations§
Source§impl StreamingReport
impl StreamingReport
Sourcepub fn released_count(&self) -> usize
pub fn released_count(&self) -> usize
How many local originals were released after a durable verdict.
Sourcepub fn retained_count(&self) -> usize
pub fn retained_count(&self) -> usize
How many imports were kept local (gate retained + the in-flight halted asset).
Trait Implementations§
Source§impl Debug for StreamingReport
impl Debug for StreamingReport
Source§impl Default for StreamingReport
impl Default for StreamingReport
Source§fn default() -> StreamingReport
fn default() -> StreamingReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StreamingReport
impl RefUnwindSafe for StreamingReport
impl Send for StreamingReport
impl Sync for StreamingReport
impl Unpin for StreamingReport
impl UnsafeUnpin for StreamingReport
impl UnwindSafe for StreamingReport
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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