#[non_exhaustive]pub enum BufferError {
BufferErrorMap,
}
Expand description
Error enumeration for Buffer
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
BufferErrorMap
A buffer could not be mapped either because the feature isn’t supported or because a system limitation was hit.
Trait Implementations§
Source§impl Clone for BufferError
impl Clone for BufferError
Source§fn clone(&self) -> BufferError
fn clone(&self) -> BufferError
Returns a duplicate 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 BufferError
impl Debug for BufferError
Source§impl Display for BufferError
impl Display for BufferError
Source§impl Hash for BufferError
impl Hash for BufferError
Source§impl Ord for BufferError
impl Ord for BufferError
Source§fn cmp(&self, other: &BufferError) -> Ordering
fn cmp(&self, other: &BufferError) -> 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 BufferError
impl PartialEq for BufferError
Source§impl PartialOrd for BufferError
impl PartialOrd for BufferError
impl Copy for BufferError
impl Eq for BufferError
impl StructuralPartialEq for BufferError
Auto Trait Implementations§
impl Freeze for BufferError
impl RefUnwindSafe for BufferError
impl Send for BufferError
impl Sync for BufferError
impl Unpin for BufferError
impl UnwindSafe for BufferError
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