pub enum PortStatusValidationError {
MissingField(PortStatusMissingFieldError),
InvalidField(Error),
}
Expand description
Errors validating PortStatus
.
Variants§
Trait Implementations§
Source§impl Debug for PortStatusValidationError
impl Debug for PortStatusValidationError
Source§impl Display for PortStatusValidationError
impl Display for PortStatusValidationError
Source§impl Error for PortStatusValidationError
impl Error for PortStatusValidationError
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 From<Error> for PortStatusValidationError
impl From<Error> for PortStatusValidationError
Source§impl From<PortStatusMissingFieldError> for PortStatusValidationError
impl From<PortStatusMissingFieldError> for PortStatusValidationError
Source§fn from(src: PortStatusMissingFieldError) -> Self
fn from(src: PortStatusMissingFieldError) -> Self
Converts to this type from the input type.
Source§impl From<PortStatusValidationError> for Error
impl From<PortStatusValidationError> for Error
Source§fn from(source: PortStatusValidationError) -> Self
fn from(source: PortStatusValidationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PortStatusValidationError
impl RefUnwindSafe for PortStatusValidationError
impl Send for PortStatusValidationError
impl Sync for PortStatusValidationError
impl Unpin for PortStatusValidationError
impl UnwindSafe for PortStatusValidationError
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