pub enum Error {
Parse(ParseError),
Serialize(SerializeError),
}Expand description
Sum of both parse and serialize errors
Variants§
Implementations§
Source§impl Error
impl Error
pub fn arrow_Parse_0(self) -> ParseError
pub fn arrow_Serialize_0(self) -> SerializeError
Trait Implementations§
Source§impl From<ParseError> for Error
impl From<ParseError> for Error
Source§exec fn from(e: ParseError) -> Self
exec fn from(e: ParseError) -> Self
Source§impl From<SerializeError> for Error
impl From<SerializeError> for Error
Source§exec fn from(e: SerializeError) -> Self
exec fn from(e: SerializeError) -> Self
Source§impl FromSpecImpl<ParseError> for Error
impl FromSpecImpl<ParseError> for Error
Source§open spec fn obeys_from_spec() -> bool
open spec fn obeys_from_spec() -> bool
{ true }Source§open spec fn from_spec(e: ParseError) -> Self
open spec fn from_spec(e: ParseError) -> Self
{ Error::Parse(e) }Source§impl FromSpecImpl<SerializeError> for Error
impl FromSpecImpl<SerializeError> for Error
Source§open spec fn obeys_from_spec() -> bool
open spec fn obeys_from_spec() -> bool
{ true }Source§open spec fn from_spec(e: SerializeError) -> Self
open spec fn from_spec(e: SerializeError) -> Self
{ Error::Serialize(e) }Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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
§impl<T, VERUS_SPEC__A> FromSpec<T> for VERUS_SPEC__Awhere
VERUS_SPEC__A: From<T>,
impl<T, VERUS_SPEC__A> FromSpec<T> for VERUS_SPEC__Awhere
VERUS_SPEC__A: From<T>,
fn obeys_from_spec() -> bool
fn from_spec(v: T) -> VERUS_SPEC__A
§impl<T, VERUS_SPEC__A> IntoSpec<T> for VERUS_SPEC__Awhere
VERUS_SPEC__A: Into<T>,
impl<T, VERUS_SPEC__A> IntoSpec<T> for VERUS_SPEC__Awhere
VERUS_SPEC__A: Into<T>,
fn obeys_into_spec() -> bool
fn into_spec(self) -> T
§impl<T, U> IntoSpecImpl<U> for Twhere
U: From<T>,
impl<T, U> IntoSpecImpl<U> for Twhere
U: From<T>,
fn obeys_into_spec() -> bool
fn into_spec(self) -> U
Source§impl<T, U> SpecTryInto<U> for Twhere
U: SpecTryFrom<T>,
impl<T, U> SpecTryInto<U> for Twhere
U: SpecTryFrom<T>,
Source§open spec fn spec_try_into(self) -> Result<U, <U as SpecTryFrom<T>>::Error>
open spec fn spec_try_into(self) -> Result<U, <U as SpecTryFrom<T>>::Error>
{ U::spec_try_from(self) }Source§type Error = <U as SpecTryFrom<T>>::Error
type Error = <U as SpecTryFrom<T>>::Error
The type returned in the event of a conversion error.