pub struct ByteSliceError {
pub kind: ByteSliceErrorKind,
}Expand description
Error parsing an integer from a byte slice.
Crate-owned so it stays constructible on stable — the standard library’s
integer-parse error is opaque and can’t be built outside core.
Fields§
§kind: ByteSliceErrorKindWhat went wrong.
Trait Implementations§
Source§impl Clone for ByteSliceError
impl Clone for ByteSliceError
Source§fn clone(&self) -> ByteSliceError
fn clone(&self) -> ByteSliceError
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 ByteSliceError
Source§impl Debug for ByteSliceError
impl Debug for ByteSliceError
Source§impl Display for ByteSliceError
impl Display for ByteSliceError
impl Eq for ByteSliceError
Source§impl PartialEq for ByteSliceError
impl PartialEq for ByteSliceError
Source§fn eq(&self, other: &ByteSliceError) -> bool
fn eq(&self, other: &ByteSliceError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ByteSliceError
Auto Trait Implementations§
impl Freeze for ByteSliceError
impl RefUnwindSafe for ByteSliceError
impl Send for ByteSliceError
impl Sync for ByteSliceError
impl Unpin for ByteSliceError
impl UnsafeUnpin for ByteSliceError
impl UnwindSafe for ByteSliceError
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