pub enum BufferErrorKind {
Full,
Closed,
}Expand description
Kind of buffer-related failure surfaced by a driver.
Variants§
Full
The downstream buffer was full and could not accept the item.
Closed
The buffer was closed (typically because a downstream stage terminated unexpectedly).
Trait Implementations§
Source§impl Clone for BufferErrorKind
impl Clone for BufferErrorKind
Source§fn clone(&self) -> BufferErrorKind
fn clone(&self) -> BufferErrorKind
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 moreSource§impl Debug for BufferErrorKind
impl Debug for BufferErrorKind
Source§impl Display for BufferErrorKind
impl Display for BufferErrorKind
Source§impl Hash for BufferErrorKind
impl Hash for BufferErrorKind
Source§impl PartialEq for BufferErrorKind
impl PartialEq for BufferErrorKind
Source§fn eq(&self, other: &BufferErrorKind) -> bool
fn eq(&self, other: &BufferErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BufferErrorKind
impl Eq for BufferErrorKind
impl StructuralPartialEq for BufferErrorKind
Auto Trait Implementations§
impl Freeze for BufferErrorKind
impl RefUnwindSafe for BufferErrorKind
impl Send for BufferErrorKind
impl Sync for BufferErrorKind
impl Unpin for BufferErrorKind
impl UnsafeUnpin for BufferErrorKind
impl UnwindSafe for BufferErrorKind
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