pub enum PreSerializeErrorKind {
LengthTooLarge,
NotCompliant(ComplianceErrorKind),
}Expand description
Top-level reason that preparation failed.
Variants§
LengthTooLarge
The exact serialized length cannot be represented by usize.
NotCompliant(ComplianceErrorKind)
The value is not accepted by the format.
Implementations§
Source§impl PreSerializeErrorKind
impl PreSerializeErrorKind
pub fn arrow_0(self) -> ComplianceErrorKind
pub fn arrow_NotCompliant_0(self) -> ComplianceErrorKind
Trait Implementations§
Source§impl Clone for PreSerializeErrorKind
impl Clone for PreSerializeErrorKind
Source§fn clone(&self) -> PreSerializeErrorKind
fn clone(&self) -> PreSerializeErrorKind
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 moreSource§impl Debug for PreSerializeErrorKind
impl Debug for PreSerializeErrorKind
Source§impl Display for PreSerializeErrorKind
impl Display for PreSerializeErrorKind
Source§impl PartialEq for PreSerializeErrorKind
impl PartialEq for PreSerializeErrorKind
Source§fn eq(&self, other: &PreSerializeErrorKind) -> bool
fn eq(&self, other: &PreSerializeErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PreSerializeErrorKind
impl Eq for PreSerializeErrorKind
impl StructuralPartialEq for PreSerializeErrorKind
Auto Trait Implementations§
impl Freeze for PreSerializeErrorKind
impl RefUnwindSafe for PreSerializeErrorKind
impl Send for PreSerializeErrorKind
impl Sync for PreSerializeErrorKind
impl Unpin for PreSerializeErrorKind
impl UnsafeUnpin for PreSerializeErrorKind
impl UnwindSafe for PreSerializeErrorKind
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