Enum terminal_cli::PropertyValidationError
[−]
[src]
pub enum PropertyValidationError<T> { InvalidInput, ValueTooSmall { min: T, val: T, }, ValueTooBig { max: T, val: T, }, }
Variants
InvalidInput
ValueTooSmall
Fields of ValueTooSmall
min: T | |
val: T |
ValueTooBig
Fields of ValueTooBig
max: T | |
val: T |
Trait Implementations
impl<T: Debug> Debug for PropertyValidationError<T>
[src]
impl<T: Clone> Clone for PropertyValidationError<T>
[src]
fn clone(&self) -> PropertyValidationError<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: PartialEq> PartialEq for PropertyValidationError<T>
[src]
fn eq(&self, __arg_0: &PropertyValidationError<T>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PropertyValidationError<T>) -> bool
[src]
This method tests for !=
.