pub enum AppendOutcome {
Delivered(Box<AppendResult>),
Spooled,
}Expand description
Outcome of SpooledClient::append_observation.
Variants§
Delivered(Box<AppendResult>)
Reached the daemon; carries the AppendResult (stored observation +
the daemon’s deduplicated marker). deduplicated is true when this
id was already stored (e.g. a replay of an entry the daemon had already
committed before a crash) — the stored row is returned unchanged.
The result is boxed so the enum stays small (the Spooled variant
carries no data).
Spooled
Daemon unreachable — the request was buffered to the spool.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AppendOutcome
impl RefUnwindSafe for AppendOutcome
impl Send for AppendOutcome
impl Sync for AppendOutcome
impl Unpin for AppendOutcome
impl UnsafeUnpin for AppendOutcome
impl UnwindSafe for AppendOutcome
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