Enum oci_spec::OciSpecError
source · [−]pub enum OciSpecError {
Other(String),
Io(Error),
SerDe(Error),
Builder(UninitializedFieldError),
}Expand description
Error type for oci spec errors.
Variants
Other(String)
Will be returned if an error occurs that cannot be mapped to a more specialized error variant.
Io(Error)
Will be returned when an error happens during io operations.
SerDe(Error)
Will be returned when an error happens during serialization or deserialization.
Builder(UninitializedFieldError)
Builder specific errors.
Trait Implementations
sourceimpl Debug for OciSpecError
impl Debug for OciSpecError
sourceimpl Display for OciSpecError
impl Display for OciSpecError
sourceimpl Error for OciSpecError
impl Error for OciSpecError
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<Error> for OciSpecError
impl From<Error> for OciSpecError
sourceimpl From<Error> for OciSpecError
impl From<Error> for OciSpecError
sourceimpl From<UninitializedFieldError> for OciSpecError
impl From<UninitializedFieldError> for OciSpecError
sourcefn from(source: UninitializedFieldError) -> Self
fn from(source: UninitializedFieldError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for OciSpecError
impl Send for OciSpecError
impl Sync for OciSpecError
impl Unpin for OciSpecError
impl !UnwindSafe for OciSpecError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more