pub enum FixedSizeByteStringModificationError {
InsertWouldExceedCapacity,
}Expand description
Error which can occur when a FixedSizeByteString is modified.
Variants§
InsertWouldExceedCapacity
Trait Implementations§
source§impl Clone for FixedSizeByteStringModificationError
impl Clone for FixedSizeByteStringModificationError
source§fn clone(&self) -> FixedSizeByteStringModificationError
fn clone(&self) -> FixedSizeByteStringModificationError
Returns a copy 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 Error for FixedSizeByteStringModificationError
impl Error for FixedSizeByteStringModificationError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<FixedSizeByteStringModificationError> for SemanticStringError
impl From<FixedSizeByteStringModificationError> for SemanticStringError
source§fn from(_: FixedSizeByteStringModificationError) -> Self
fn from(_: FixedSizeByteStringModificationError) -> Self
Converts to this type from the input type.
source§impl PartialEq for FixedSizeByteStringModificationError
impl PartialEq for FixedSizeByteStringModificationError
source§fn eq(&self, other: &FixedSizeByteStringModificationError) -> bool
fn eq(&self, other: &FixedSizeByteStringModificationError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for FixedSizeByteStringModificationError
impl Eq for FixedSizeByteStringModificationError
impl StructuralPartialEq for FixedSizeByteStringModificationError
Auto Trait Implementations§
impl Freeze for FixedSizeByteStringModificationError
impl RefUnwindSafe for FixedSizeByteStringModificationError
impl Send for FixedSizeByteStringModificationError
impl Sync for FixedSizeByteStringModificationError
impl Unpin for FixedSizeByteStringModificationError
impl UnwindSafe for FixedSizeByteStringModificationError
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