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