Enum validators::domain::DomainError [−][src]
pub enum DomainError {
IncorrectFormat,
IncorrectPort,
PortNotAllow,
PortNotFound,
LocalhostNotAllow,
LocalhostNotFound,
UTF8Error(Utf8Error),
}Variants
IncorrectFormatIncorrectPortPortNotAllowPortNotFoundLocalhostNotAllowLocalhostNotFoundUTF8Error(Utf8Error)
Trait Implementations
impl Debug for DomainError[src]
impl Debug for DomainErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for DomainError[src]
impl PartialEq for DomainErrorfn eq(&self, other: &DomainError) -> bool[src]
fn eq(&self, other: &DomainError) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &DomainError) -> bool[src]
fn ne(&self, other: &DomainError) -> boolThis method tests for !=.
impl Clone for DomainError[src]
impl Clone for DomainErrorfn clone(&self) -> DomainError[src]
fn clone(&self) -> DomainErrorReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
Auto Trait Implementations
impl Send for DomainError
impl Send for DomainErrorimpl Sync for DomainError
impl Sync for DomainError