pub enum ObserveMode {
FinalOnly,
Events,
Ledger,
}Expand description
How much of an evaluation a caller wants to observe.
Variants§
FinalOnly
Observe only the final value (the default).
Events
Stream intermediate events as they occur.
Ledger
Collect the full event ledger alongside the final value.
Trait Implementations§
Source§impl Clone for ObserveMode
impl Clone for ObserveMode
Source§fn clone(&self) -> ObserveMode
fn clone(&self) -> ObserveMode
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 ObserveMode
Source§impl Debug for ObserveMode
impl Debug for ObserveMode
Source§impl Default for ObserveMode
impl Default for ObserveMode
Source§fn default() -> ObserveMode
fn default() -> ObserveMode
Returns the “default value” for a type. Read more
impl Eq for ObserveMode
Source§impl PartialEq for ObserveMode
impl PartialEq for ObserveMode
Source§fn eq(&self, other: &ObserveMode) -> bool
fn eq(&self, other: &ObserveMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ObserveMode
Auto Trait Implementations§
impl Freeze for ObserveMode
impl RefUnwindSafe for ObserveMode
impl Send for ObserveMode
impl Sync for ObserveMode
impl Unpin for ObserveMode
impl UnsafeUnpin for ObserveMode
impl UnwindSafe for ObserveMode
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