pub struct EdgeTraceContextToObserveError {
pub flags: u32,
}Expand description
Error returned when narrowing an [grafos_core::EdgeTraceContext]
to a runtime TraceContext would discard set high bits in the
flags field. The full u32 value is preserved on the error so
callers can log/audit what was rejected.
Fields§
§flags: u32The original u32 flags value that did not fit in the runtime’s u8 flags slot.
Trait Implementations§
Source§impl Clone for EdgeTraceContextToObserveError
impl Clone for EdgeTraceContextToObserveError
Source§fn clone(&self) -> EdgeTraceContextToObserveError
fn clone(&self) -> EdgeTraceContextToObserveError
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 moreSource§impl Error for EdgeTraceContextToObserveError
Available on crate feature std only.
impl Error for EdgeTraceContextToObserveError
Available on crate feature
std only.1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for EdgeTraceContextToObserveError
impl PartialEq for EdgeTraceContextToObserveError
Source§fn eq(&self, other: &EdgeTraceContextToObserveError) -> bool
fn eq(&self, other: &EdgeTraceContextToObserveError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EdgeTraceContextToObserveError
impl Eq for EdgeTraceContextToObserveError
impl StructuralPartialEq for EdgeTraceContextToObserveError
Auto Trait Implementations§
impl Freeze for EdgeTraceContextToObserveError
impl RefUnwindSafe for EdgeTraceContextToObserveError
impl Send for EdgeTraceContextToObserveError
impl Sync for EdgeTraceContextToObserveError
impl Unpin for EdgeTraceContextToObserveError
impl UnwindSafe for EdgeTraceContextToObserveError
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