pub struct NonBlocking {
pub buffer_length: Option<usize>,
pub behaviour: Option<BackpressureBehaviour>,
}
Expand description
Configuration for tracing_appender::non_blocking::NonBlocking
.
Fields§
§buffer_length: Option<usize>
§behaviour: Option<BackpressureBehaviour>
Trait Implementations§
Source§impl Clone for NonBlocking
impl Clone for NonBlocking
Source§fn clone(&self) -> NonBlocking
fn clone(&self) -> NonBlocking
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 NonBlocking
impl Debug for NonBlocking
Source§impl Default for NonBlocking
impl Default for NonBlocking
Source§fn default() -> NonBlocking
fn default() -> NonBlocking
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NonBlocking
impl<'de> Deserialize<'de> for NonBlocking
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 NonBlocking
impl Hash for NonBlocking
Source§impl Ord for NonBlocking
impl Ord for NonBlocking
Source§fn cmp(&self, other: &NonBlocking) -> Ordering
fn cmp(&self, other: &NonBlocking) -> 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 NonBlocking
impl PartialEq for NonBlocking
Source§impl PartialOrd for NonBlocking
impl PartialOrd for NonBlocking
Source§impl Serialize for NonBlocking
impl Serialize for NonBlocking
impl Eq for NonBlocking
impl StructuralPartialEq for NonBlocking
Auto Trait Implementations§
impl Freeze for NonBlocking
impl RefUnwindSafe for NonBlocking
impl Send for NonBlocking
impl Sync for NonBlocking
impl Unpin for NonBlocking
impl UnwindSafe for NonBlocking
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