pub struct SpanResolutionRefusal {
pub handle: SpanHandle,
pub reaches: usize,
}Expand description
Why one span table could not say where a handle sits.
A caller holding the handle and the table’s reach can tell a handle issued by another producer from a handle issued past the end of a truncated table, which is the whole of what is knowable from this side.
Fields§
§handle: SpanHandleThe handle the table was asked to resolve.
reaches: usizeHow many positions the table carries; a handle at or past this index names no position in it.
Trait Implementations§
Source§impl Clone for SpanResolutionRefusal
impl Clone for SpanResolutionRefusal
Source§fn clone(&self) -> SpanResolutionRefusal
fn clone(&self) -> SpanResolutionRefusal
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 SpanResolutionRefusal
Source§impl Debug for SpanResolutionRefusal
impl Debug for SpanResolutionRefusal
Source§impl Display for SpanResolutionRefusal
impl Display for SpanResolutionRefusal
impl Eq for SpanResolutionRefusal
Source§impl Error for SpanResolutionRefusal
impl Error for SpanResolutionRefusal
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 Hash for SpanResolutionRefusal
impl Hash for SpanResolutionRefusal
Source§impl PartialEq for SpanResolutionRefusal
impl PartialEq for SpanResolutionRefusal
impl StructuralPartialEq for SpanResolutionRefusal
Auto Trait Implementations§
impl Freeze for SpanResolutionRefusal
impl RefUnwindSafe for SpanResolutionRefusal
impl Send for SpanResolutionRefusal
impl Sync for SpanResolutionRefusal
impl Unpin for SpanResolutionRefusal
impl UnsafeUnpin for SpanResolutionRefusal
impl UnwindSafe for SpanResolutionRefusal
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