pub struct CompletedRecording { /* private fields */ }Expand description
Durable result of a successfully completed recording lifecycle.
The active writer has been consumed and all metadata and chunks are durable before this handle is created. It cannot append data.
Implementations§
Source§impl CompletedRecording
impl CompletedRecording
Sourcepub fn timing(&self) -> &RecordingTiming
pub fn timing(&self) -> &RecordingTiming
Returns automatically captured operational timing.
Sourcepub fn terminal_metadata(&self) -> &Map<String, Value>
pub fn terminal_metadata(&self) -> &Map<String, Value>
Returns caller-supplied terminal metadata committed with completion.
Sourcepub fn stream_summaries(&self) -> &[CompletedStreamSummary]
pub fn stream_summaries(&self) -> &[CompletedStreamSummary]
Returns stream summaries in declaration order.
Sourcepub fn stream_summary(&self, name: &str) -> Option<&CompletedStreamSummary>
pub fn stream_summary(&self, name: &str) -> Option<&CompletedStreamSummary>
Looks up one completed stream summary by exact name.
Trait Implementations§
Source§impl Clone for CompletedRecording
impl Clone for CompletedRecording
Source§fn clone(&self) -> CompletedRecording
fn clone(&self) -> CompletedRecording
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 moreSource§impl Debug for CompletedRecording
impl Debug for CompletedRecording
impl Eq for CompletedRecording
Source§impl PartialEq for CompletedRecording
impl PartialEq for CompletedRecording
impl StructuralPartialEq for CompletedRecording
Auto Trait Implementations§
impl Freeze for CompletedRecording
impl RefUnwindSafe for CompletedRecording
impl Send for CompletedRecording
impl Sync for CompletedRecording
impl Unpin for CompletedRecording
impl UnsafeUnpin for CompletedRecording
impl UnwindSafe for CompletedRecording
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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