pub enum Float32DecodeError {
InvalidSize {
len: usize,
},
NonFinite,
}Expand description
Failure while decoding one finite 32-bit floating-point atom.
Variants§
InvalidSize
The input did not contain exactly four bytes.
NonFinite
The bytes represented NaN or infinity.
Trait Implementations§
Source§impl Clone for Float32DecodeError
impl Clone for Float32DecodeError
Source§fn clone(&self) -> Float32DecodeError
fn clone(&self) -> Float32DecodeError
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 Float32DecodeError
Source§impl Debug for Float32DecodeError
impl Debug for Float32DecodeError
impl Eq for Float32DecodeError
Source§impl PartialEq for Float32DecodeError
impl PartialEq for Float32DecodeError
impl StructuralPartialEq for Float32DecodeError
Auto Trait Implementations§
impl Freeze for Float32DecodeError
impl RefUnwindSafe for Float32DecodeError
impl Send for Float32DecodeError
impl Sync for Float32DecodeError
impl Unpin for Float32DecodeError
impl UnsafeUnpin for Float32DecodeError
impl UnwindSafe for Float32DecodeError
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