pub struct MessageBoundaryRecord { /* private fields */ }Expand description
One message observation at a runtime boundary.
Implementations§
Source§impl MessageBoundaryRecord
impl MessageBoundaryRecord
Sourcepub const fn new(kind: MessageBoundaryKind, metadata: MessageMetadata) -> Self
pub const fn new(kind: MessageBoundaryKind, metadata: MessageMetadata) -> Self
Create a message boundary observation.
Sourcepub const fn kind(&self) -> MessageBoundaryKind
pub const fn kind(&self) -> MessageBoundaryKind
Kind of port-boundary observation.
Sourcepub const fn metadata(&self) -> &MessageMetadata
pub const fn metadata(&self) -> &MessageMetadata
Message metadata observed at the boundary.
Trait Implementations§
Source§impl Clone for MessageBoundaryRecord
impl Clone for MessageBoundaryRecord
Source§fn clone(&self) -> MessageBoundaryRecord
fn clone(&self) -> MessageBoundaryRecord
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 MessageBoundaryRecord
impl Debug for MessageBoundaryRecord
Source§impl PartialEq for MessageBoundaryRecord
impl PartialEq for MessageBoundaryRecord
Source§fn eq(&self, other: &MessageBoundaryRecord) -> bool
fn eq(&self, other: &MessageBoundaryRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MessageBoundaryRecord
impl StructuralPartialEq for MessageBoundaryRecord
Auto Trait Implementations§
impl Freeze for MessageBoundaryRecord
impl RefUnwindSafe for MessageBoundaryRecord
impl Send for MessageBoundaryRecord
impl Sync for MessageBoundaryRecord
impl Unpin for MessageBoundaryRecord
impl UnsafeUnpin for MessageBoundaryRecord
impl UnwindSafe for MessageBoundaryRecord
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).