Struct oso::errors::polar::PolarError
source · pub struct PolarError(pub ErrorKind);
Tuple Fields§
§0: ErrorKind
Implementations§
source§impl PolarError
impl PolarError
Trait Implementations§
source§impl Clone for PolarError
impl Clone for PolarError
source§fn clone(&self) -> PolarError
fn clone(&self) -> PolarError
Returns a copy of the value. Read more
1.0.0 · 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 PolarError
impl Debug for PolarError
source§impl Display for PolarError
impl Display for PolarError
source§impl Error for PolarError
impl Error for PolarError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<OperationalError> for PolarError
impl From<OperationalError> for PolarError
source§fn from(err: OperationalError) -> PolarError
fn from(err: OperationalError) -> PolarError
Converts to this type from the input type.
source§impl From<ParseError> for PolarError
impl From<ParseError> for PolarError
source§fn from(err: ParseError) -> PolarError
fn from(err: ParseError) -> PolarError
Converts to this type from the input type.
source§impl From<PolarError> for FormattedPolarError
impl From<PolarError> for FormattedPolarError
source§fn from(other: PolarError) -> FormattedPolarError
fn from(other: PolarError) -> FormattedPolarError
Converts to this type from the input type.
source§impl From<PolarError> for OsoError
impl From<PolarError> for OsoError
source§fn from(source: PolarError) -> Self
fn from(source: PolarError) -> Self
Converts to this type from the input type.
source§impl From<RuntimeError> for PolarError
impl From<RuntimeError> for PolarError
source§fn from(err: RuntimeError) -> PolarError
fn from(err: RuntimeError) -> PolarError
Converts to this type from the input type.
source§impl From<ValidationError> for PolarError
impl From<ValidationError> for PolarError
source§fn from(err: ValidationError) -> PolarError
fn from(err: ValidationError) -> PolarError
Converts to this type from the input type.
source§impl Serialize for PolarError
impl Serialize for PolarError
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for PolarError
impl Send for PolarError
impl Sync for PolarError
impl Unpin for PolarError
impl UnwindSafe for PolarError
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