pub struct VectorCodecError {
pub byte_len: usize,
}Expand description
A byte slice cannot contain a whole number of f32 values.
Fields§
§byte_len: usizeLength of the supplied byte slice.
Trait Implementations§
Source§impl Clone for VectorCodecError
impl Clone for VectorCodecError
Source§fn clone(&self) -> VectorCodecError
fn clone(&self) -> VectorCodecError
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 VectorCodecError
Source§impl Debug for VectorCodecError
impl Debug for VectorCodecError
Source§impl Display for VectorCodecError
impl Display for VectorCodecError
impl Eq for VectorCodecError
Source§impl Error for VectorCodecError
impl Error for VectorCodecError
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 VectorCodecError
impl PartialEq for VectorCodecError
impl StructuralPartialEq for VectorCodecError
Auto Trait Implementations§
impl Freeze for VectorCodecError
impl RefUnwindSafe for VectorCodecError
impl Send for VectorCodecError
impl Sync for VectorCodecError
impl Unpin for VectorCodecError
impl UnsafeUnpin for VectorCodecError
impl UnwindSafe for VectorCodecError
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