Struct carboncopy_tokio::BufferOverflowThreshold [−][src]
pub struct BufferOverflowThreshold(_);
A size threshold after which the buffer will be flushed. The size of the buffer itself is unlimited.
Implementations
impl BufferOverflowThreshold
[src]
impl BufferOverflowThreshold
[src]pub fn new(cap: usize) -> Result<Self, ThresholdError>
[src]
Must be greater than 1KB (1024) and less than 1GB (1024 * 1024 * 1024).
Trait Implementations
impl Clone for BufferOverflowThreshold
[src]
impl Clone for BufferOverflowThreshold
[src]fn clone(&self) -> BufferOverflowThreshold
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for BufferOverflowThreshold
[src]
impl Copy for BufferOverflowThreshold
[src]impl Eq for BufferOverflowThreshold
[src]
impl Eq for BufferOverflowThreshold
[src]impl Ord for BufferOverflowThreshold
[src]
impl Ord for BufferOverflowThreshold
[src]impl PartialEq<BufferOverflowThreshold> for BufferOverflowThreshold
[src]
impl PartialEq<BufferOverflowThreshold> for BufferOverflowThreshold
[src]fn eq(&self, other: &BufferOverflowThreshold) -> bool
[src]
fn ne(&self, other: &BufferOverflowThreshold) -> bool
[src]
impl PartialOrd<BufferOverflowThreshold> for BufferOverflowThreshold
[src]
impl PartialOrd<BufferOverflowThreshold> for BufferOverflowThreshold
[src]fn partial_cmp(&self, other: &BufferOverflowThreshold) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl StructuralEq for BufferOverflowThreshold
[src]
impl StructuralEq for BufferOverflowThreshold
[src]Auto Trait Implementations
impl RefUnwindSafe for BufferOverflowThreshold
impl RefUnwindSafe for BufferOverflowThreshold
impl Send for BufferOverflowThreshold
impl Send for BufferOverflowThreshold
impl Sync for BufferOverflowThreshold
impl Sync for BufferOverflowThreshold
impl Unpin for BufferOverflowThreshold
impl Unpin for BufferOverflowThreshold
impl UnwindSafe for BufferOverflowThreshold
impl UnwindSafe for BufferOverflowThreshold