pub enum PoolBufferError {
Overflow,
CapacityTooLarge,
}Expand description
Fehler-Familie fuer PoolBuffer.
Variants§
Overflow
Schreibende Operation wuerde die statische Kapazitaet ueberschreiten.
CapacityTooLarge
CAP > u16::MAX. Diese Variante existiert weil len als
u16 modelliert ist.
Trait Implementations§
Source§impl Clone for PoolBufferError
impl Clone for PoolBufferError
Source§fn clone(&self) -> PoolBufferError
fn clone(&self) -> PoolBufferError
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 PoolBufferError
impl Debug for PoolBufferError
Source§impl Display for PoolBufferError
impl Display for PoolBufferError
Source§impl Error for PoolBufferError
Available on crate feature std only.
impl Error for PoolBufferError
Available on crate feature
std only.1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for PoolBufferError
impl PartialEq for PoolBufferError
Source§fn eq(&self, other: &PoolBufferError) -> bool
fn eq(&self, other: &PoolBufferError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PoolBufferError
impl Eq for PoolBufferError
impl StructuralPartialEq for PoolBufferError
Auto Trait Implementations§
impl Freeze for PoolBufferError
impl RefUnwindSafe for PoolBufferError
impl Send for PoolBufferError
impl Sync for PoolBufferError
impl Unpin for PoolBufferError
impl UnsafeUnpin for PoolBufferError
impl UnwindSafe for PoolBufferError
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