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