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§
source§impl Debug for OciSpecError
impl Debug for OciSpecError
source§impl Display for OciSpecError
impl Display for OciSpecError
source§impl Error for OciSpecError
impl Error for OciSpecError
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 From<Error> for OciSpecError
impl From<Error> for OciSpecError
source§impl From<Error> for OciSpecError
impl From<Error> for OciSpecError
source§impl From<UninitializedFieldError> for OciSpecError
impl From<UninitializedFieldError> for OciSpecError
source§fn from(source: UninitializedFieldError) -> Self
fn from(source: UninitializedFieldError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OciSpecError
impl !RefUnwindSafe for OciSpecError
impl Send for OciSpecError
impl Sync for OciSpecError
impl Unpin for OciSpecError
impl !UnwindSafe for OciSpecError
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