pub struct BufferLengthError { /* private fields */ }Expand description
Error returned when a visible prefix exceeds its backing array.
Implementations§
Trait Implementations§
Source§impl Clone for BufferLengthError
impl Clone for BufferLengthError
Source§fn clone(&self) -> BufferLengthError
fn clone(&self) -> BufferLengthError
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 BufferLengthError
Source§impl Debug for BufferLengthError
impl Debug for BufferLengthError
Source§impl Display for BufferLengthError
impl Display for BufferLengthError
impl Eq for BufferLengthError
Source§impl Error for BufferLengthError
Available on crate feature std only.
impl Error for BufferLengthError
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 BufferLengthError
impl PartialEq for BufferLengthError
impl StructuralPartialEq for BufferLengthError
Auto Trait Implementations§
impl Freeze for BufferLengthError
impl RefUnwindSafe for BufferLengthError
impl Send for BufferLengthError
impl Sync for BufferLengthError
impl Unpin for BufferLengthError
impl UnsafeUnpin for BufferLengthError
impl UnwindSafe for BufferLengthError
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