pub enum MaskedTextProviderError {
MaskNullOrEmpty,
MaskInvalidChar,
InvalidChar,
PasswordAndPromptCharEqual,
}Expand description
The argument errors of MaskedTextProvider.
Variants§
MaskNullOrEmpty
The mask is empty.
MaskInvalidChar
The mask contains a character that is not valid in a mask.
InvalidChar
The prompt or password character is not valid.
PasswordAndPromptCharEqual
The prompt and the password character are the same.
Trait Implementations§
Source§impl Clone for MaskedTextProviderError
impl Clone for MaskedTextProviderError
impl Copy for MaskedTextProviderError
Source§impl Debug for MaskedTextProviderError
impl Debug for MaskedTextProviderError
Source§impl Display for MaskedTextProviderError
impl Display for MaskedTextProviderError
impl Eq for MaskedTextProviderError
Source§impl Error for MaskedTextProviderError
impl Error for MaskedTextProviderError
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 Hash for MaskedTextProviderError
impl Hash for MaskedTextProviderError
Source§impl PartialEq for MaskedTextProviderError
impl PartialEq for MaskedTextProviderError
impl StructuralPartialEq for MaskedTextProviderError
Auto Trait Implementations§
impl Freeze for MaskedTextProviderError
impl RefUnwindSafe for MaskedTextProviderError
impl Send for MaskedTextProviderError
impl Sync for MaskedTextProviderError
impl Unpin for MaskedTextProviderError
impl UnsafeUnpin for MaskedTextProviderError
impl UnwindSafe for MaskedTextProviderError
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more