Struct tracing_configuration::Subscriber
source · pub struct Subscriber {
pub format: Option<Format>,
pub writer: Option<Writer>,
}
Expand description
Configuration for a totally dynamic subscriber.
Fields§
§format: Option<Format>
§writer: Option<Writer>
Implementations§
source§impl Subscriber
impl Subscriber
Trait Implementations§
source§impl Clone for Subscriber
impl Clone for Subscriber
source§fn clone(&self) -> Subscriber
fn clone(&self) -> Subscriber
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 Subscriber
impl Debug for Subscriber
source§impl Default for Subscriber
impl Default for Subscriber
source§fn default() -> Subscriber
fn default() -> Subscriber
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Subscriber
impl<'de> Deserialize<'de> for Subscriber
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for Subscriber
impl Hash for Subscriber
source§impl Ord for Subscriber
impl Ord for Subscriber
source§fn cmp(&self, other: &Subscriber) -> Ordering
fn cmp(&self, other: &Subscriber) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for Subscriber
impl PartialEq for Subscriber
source§fn eq(&self, other: &Subscriber) -> bool
fn eq(&self, other: &Subscriber) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for Subscriber
impl PartialOrd for Subscriber
source§fn partial_cmp(&self, other: &Subscriber) -> Option<Ordering>
fn partial_cmp(&self, other: &Subscriber) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for Subscriber
impl Serialize for Subscriber
impl Eq for Subscriber
impl StructuralPartialEq for Subscriber
Auto Trait Implementations§
impl Freeze for Subscriber
impl RefUnwindSafe for Subscriber
impl Send for Subscriber
impl Sync for Subscriber
impl Unpin for Subscriber
impl UnwindSafe for Subscriber
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