pub struct AsyncSinkConfig {
pub max_events: usize,
pub max_bytes: usize,
}Expand description
Count and retained-byte ceilings for one asynchronous sink.
Fields§
§max_events: usizeMaximum events retained across the queue and active delivery.
max_bytes: usizeMaximum estimated event bytes retained across queue and active delivery.
Trait Implementations§
Source§impl Clone for AsyncSinkConfig
impl Clone for AsyncSinkConfig
Source§fn clone(&self) -> AsyncSinkConfig
fn clone(&self) -> AsyncSinkConfig
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 moreimpl Copy for AsyncSinkConfig
Source§impl Debug for AsyncSinkConfig
impl Debug for AsyncSinkConfig
impl Eq for AsyncSinkConfig
Source§impl PartialEq for AsyncSinkConfig
impl PartialEq for AsyncSinkConfig
impl StructuralPartialEq for AsyncSinkConfig
Auto Trait Implementations§
impl Freeze for AsyncSinkConfig
impl RefUnwindSafe for AsyncSinkConfig
impl Send for AsyncSinkConfig
impl Sync for AsyncSinkConfig
impl Unpin for AsyncSinkConfig
impl UnsafeUnpin for AsyncSinkConfig
impl UnwindSafe for AsyncSinkConfig
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