pub struct ChannelDebugContext {
pub label: Option<&'static str>,
pub type_name: Option<&'static str>,
pub source_location: Option<SourceLocation>,
pub service: Option<&'static str>,
pub method: Option<&'static str>,
}Fields§
§label: Option<&'static str>§type_name: Option<&'static str>§source_location: Option<SourceLocation>§service: Option<&'static str>§method: Option<&'static str>Implementations§
Trait Implementations§
Source§impl Clone for ChannelDebugContext
impl Clone for ChannelDebugContext
Source§fn clone(&self) -> ChannelDebugContext
fn clone(&self) -> ChannelDebugContext
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 ChannelDebugContext
impl Debug for ChannelDebugContext
Source§impl Default for ChannelDebugContext
impl Default for ChannelDebugContext
Source§fn default() -> ChannelDebugContext
fn default() -> ChannelDebugContext
Returns the “default value” for a type. Read more
Source§impl PartialEq for ChannelDebugContext
impl PartialEq for ChannelDebugContext
Source§fn eq(&self, other: &ChannelDebugContext) -> bool
fn eq(&self, other: &ChannelDebugContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ChannelDebugContext
impl Eq for ChannelDebugContext
impl StructuralPartialEq for ChannelDebugContext
Auto Trait Implementations§
impl Freeze for ChannelDebugContext
impl RefUnwindSafe for ChannelDebugContext
impl Send for ChannelDebugContext
impl Sync for ChannelDebugContext
impl Unpin for ChannelDebugContext
impl UnsafeUnpin for ChannelDebugContext
impl UnwindSafe for ChannelDebugContext
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.