pub struct EmptyContext;
Expand description
Unit struct representing an empty context with no data in it.
Trait Implementations§
Source§impl Clone for EmptyContext
impl Clone for EmptyContext
Source§fn clone(&self) -> EmptyContext
fn clone(&self) -> EmptyContext
Returns a copy 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 Debug for EmptyContext
impl Debug for EmptyContext
Source§impl Default for EmptyContext
impl Default for EmptyContext
Source§fn default() -> EmptyContext
fn default() -> EmptyContext
Returns the “default value” for a type. Read more
Source§impl PartialEq for EmptyContext
impl PartialEq for EmptyContext
Source§impl Push<Option<Authorization>> for EmptyContext
impl Push<Option<Authorization>> for EmptyContext
Source§type Result = ContextBuilder<Option<Authorization>, EmptyContext>
type Result = ContextBuilder<Option<Authorization>, EmptyContext>
The type that results from adding an item.
Source§impl Push<XSpanId> for EmptyContext
impl Push<XSpanId> for EmptyContext
impl Eq for EmptyContext
impl StructuralPartialEq for EmptyContext
Auto Trait Implementations§
impl Freeze for EmptyContext
impl RefUnwindSafe for EmptyContext
impl Send for EmptyContext
impl Sync for EmptyContext
impl Unpin for EmptyContext
impl UnwindSafe for EmptyContext
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.