Enum slog_async::OverflowStrategy [−][src]
pub enum OverflowStrategy { DropAndReport, Drop, Block, // some variants omitted }
Expand description
Behavior used when the channel is full.
Note
More variants may be added in the future, without considering it a breaking change.
Variants
The message gets dropped and a message with number of dropped is produced once there’s space.
This is the default.
Note that the message with number of dropped messages takes one slot in the channel as well.
The message gets dropped silently.
The caller is blocked until there’s enough space.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for OverflowStrategy
impl Send for OverflowStrategy
impl Sync for OverflowStrategy
impl Unpin for OverflowStrategy
impl UnwindSafe for OverflowStrategy
Blanket Implementations
Mutably borrows from an owned value. Read more