pub enum BackpressureBehaviour {
Drop,
Block,
}
Expand description
How the tracing_appender::non_blocking::NonBlocking
should behave on a full queue.
See tracing_appender::non_blocking::NonBlockingBuilder::lossy
.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for BackpressureBehaviour
impl Clone for BackpressureBehaviour
Source§fn clone(&self) -> BackpressureBehaviour
fn clone(&self) -> BackpressureBehaviour
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 BackpressureBehaviour
impl Debug for BackpressureBehaviour
Source§impl<'de> Deserialize<'de> for BackpressureBehaviour
impl<'de> Deserialize<'de> for BackpressureBehaviour
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 Display for BackpressureBehaviour
impl Display for BackpressureBehaviour
Source§impl FromStr for BackpressureBehaviour
impl FromStr for BackpressureBehaviour
Source§impl Hash for BackpressureBehaviour
impl Hash for BackpressureBehaviour
Source§impl Ord for BackpressureBehaviour
impl Ord for BackpressureBehaviour
Source§fn cmp(&self, other: &BackpressureBehaviour) -> Ordering
fn cmp(&self, other: &BackpressureBehaviour) -> 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 BackpressureBehaviour
impl PartialEq for BackpressureBehaviour
Source§impl PartialOrd for BackpressureBehaviour
impl PartialOrd for BackpressureBehaviour
Source§impl Serialize for BackpressureBehaviour
impl Serialize for BackpressureBehaviour
impl Eq for BackpressureBehaviour
impl StructuralPartialEq for BackpressureBehaviour
Auto Trait Implementations§
impl Freeze for BackpressureBehaviour
impl RefUnwindSafe for BackpressureBehaviour
impl Send for BackpressureBehaviour
impl Sync for BackpressureBehaviour
impl Unpin for BackpressureBehaviour
impl UnwindSafe for BackpressureBehaviour
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