pub enum SpscCreateError {
ZeroCapacity,
ZeroPayloadBytes,
CapacityTooLarge,
}Variants§
Trait Implementations§
Source§impl Clone for SpscCreateError
impl Clone for SpscCreateError
Source§fn clone(&self) -> SpscCreateError
fn clone(&self) -> SpscCreateError
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 SpscCreateError
Source§impl Debug for SpscCreateError
impl Debug for SpscCreateError
Source§impl Display for SpscCreateError
impl Display for SpscCreateError
impl Eq for SpscCreateError
Source§impl Error for SpscCreateError
impl Error for SpscCreateError
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 SpscCreateError
impl PartialEq for SpscCreateError
impl StructuralPartialEq for SpscCreateError
Auto Trait Implementations§
impl Freeze for SpscCreateError
impl RefUnwindSafe for SpscCreateError
impl Send for SpscCreateError
impl Sync for SpscCreateError
impl Unpin for SpscCreateError
impl UnsafeUnpin for SpscCreateError
impl UnwindSafe for SpscCreateError
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