pub struct SessionObservations(/* private fields */);Expand description
Holds only the latest authentication, metadata and Lake observations. Clones belong to the same live Session, including its admitted background work.
Implementations§
Source§impl SessionObservations
impl SessionObservations
Sourcepub fn cursor(&self) -> u64
pub fn cursor(&self) -> u64
Capture under the Session’s workflow lock before recording this request.
pub fn record( &self, component: DiagnosticComponent, origin: DiagnosticObservationOrigin, succeeded: bool, )
pub fn record_at( &self, component: DiagnosticComponent, origin: DiagnosticObservationOrigin, succeeded: bool, observed_at: DateTime<Utc>, )
Sourcepub fn record_catalog(
&self,
catalog: &LakeCatalogObservations,
origin: DiagnosticObservationOrigin,
)
pub fn record_catalog( &self, catalog: &LakeCatalogObservations, origin: DiagnosticObservationOrigin, )
Consume only stage evidence from the Lake operation that already ran.
Trait Implementations§
Source§impl Clone for SessionObservations
impl Clone for SessionObservations
Source§fn clone(&self) -> SessionObservations
fn clone(&self) -> SessionObservations
Returns a duplicate of the value. Read more
1.0.0 · Source§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 SessionObservations
impl RefUnwindSafe for SessionObservations
impl Send for SessionObservations
impl Sync for SessionObservations
impl Unpin for SessionObservations
impl UnsafeUnpin for SessionObservations
impl UnwindSafe for SessionObservations
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