pub enum PtarsError {
Descriptor(String),
Decode(String),
Encode(String),
Arrow(String),
}Expand description
Error type for ptars operations.
Carries only plain strings so that no arrow or prost types appear in this crate’s public API.
Variants§
Descriptor(String)
The protobuf descriptors could not be parsed, or the message was not found.
Decode(String)
Serialized protobuf messages could not be decoded.
Encode(String)
Arrow data could not be encoded back to protobuf messages.
Arrow(String)
Arrow data could not be imported or exported through the C Data Interface.
Trait Implementations§
Source§impl Clone for PtarsError
impl Clone for PtarsError
Source§fn clone(&self) -> PtarsError
fn clone(&self) -> PtarsError
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 PtarsError
impl Debug for PtarsError
Source§impl Display for PtarsError
impl Display for PtarsError
impl Eq for PtarsError
Source§impl Error for PtarsError
impl Error for PtarsError
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 PtarsError
impl PartialEq for PtarsError
impl StructuralPartialEq for PtarsError
Auto Trait Implementations§
impl Freeze for PtarsError
impl RefUnwindSafe for PtarsError
impl Send for PtarsError
impl Sync for PtarsError
impl Unpin for PtarsError
impl UnsafeUnpin for PtarsError
impl UnwindSafe for PtarsError
Blanket Implementations§
impl<T> Allocation for T
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.