Trait validators::ValidatedWrapper [−][src]
pub trait ValidatedWrapper: Validated { type Error: Display + PartialEq + Clone + Debug; fn from_string(from_string_input: String) -> Result<Self, Self::Error>; fn from_str(from_str_input: &str) -> Result<Self, Self::Error>; }
Associated Types
Required Methods
fn from_string(from_string_input: String) -> Result<Self, Self::Error>
fn from_str(from_str_input: &str) -> Result<Self, Self::Error>
Implementors
impl ValidatedWrapper for DomainLocalhostableWithPort type Error = DomainError;
impl ValidatedWrapper for DomainLocalhostableAllowPort type Error = DomainError;
impl ValidatedWrapper for DomainLocalhostableWithoutPort type Error = DomainError;
impl ValidatedWrapper for DomainUnlocalhostableWithPort type Error = DomainError;
impl ValidatedWrapper for DomainUnlocalhostableAllowPort type Error = DomainError;
impl ValidatedWrapper for DomainUnlocalhostableWithoutPort type Error = DomainError;
impl ValidatedWrapper for Email type Error = EmailError;
impl ValidatedWrapper for IPv4LocalableWithPort type Error = IPv4Error;
impl ValidatedWrapper for IPv4LocalableAllowPort type Error = IPv4Error;
impl ValidatedWrapper for IPv4LocalableWithoutPort type Error = IPv4Error;
impl ValidatedWrapper for IPv4UnlocalableWithPort type Error = IPv4Error;
impl ValidatedWrapper for IPv4UnlocalableAllowPort type Error = IPv4Error;
impl ValidatedWrapper for IPv4UnlocalableWithoutPort type Error = IPv4Error;
impl ValidatedWrapper for IPv6LocalableWithPort type Error = IPv6Error;
impl ValidatedWrapper for IPv6LocalableAllowPort type Error = IPv6Error;
impl ValidatedWrapper for IPv6LocalableWithoutPort type Error = IPv6Error;
impl ValidatedWrapper for IPv6UnlocalableWithPort type Error = IPv6Error;
impl ValidatedWrapper for IPv6UnlocalableAllowPort type Error = IPv6Error;
impl ValidatedWrapper for IPv6UnlocalableWithoutPort type Error = IPv6Error;
impl ValidatedWrapper for HostLocalable type Error = HostError;
impl ValidatedWrapper for HostUnlocalable type Error = HostError;
impl ValidatedWrapper for HttpUrlLocalableWithProtocol type Error = HttpUrlError;
impl ValidatedWrapper for HttpUrlUnlocalableWithProtocol type Error = HttpUrlError;
impl ValidatedWrapper for Base64 type Error = Base64Error;
impl ValidatedWrapper for Base64Url type Error = Base64UrlError;
impl ValidatedWrapper for Base32 type Error = Base32Error;
impl ValidatedWrapper for ShortCryptUrlComponent type Error = ShortCryptUrlComponentError;
impl ValidatedWrapper for ShortCryptQRCodeAlphanumeric type Error = ShortCryptQRCodeAlphanumericError;