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