Struct validators::host::HostUnlocalable [−][src]
pub struct HostUnlocalable(_);
Methods
impl HostUnlocalable
[src]
impl HostUnlocalable
pub fn from_string(host: String) -> Result<HostUnlocalable, HostError>
[src]
pub fn from_string(host: String) -> Result<HostUnlocalable, HostError>
pub fn from_str(host: &str) -> Result<HostUnlocalable, HostError>
[src]
pub fn from_str(host: &str) -> Result<HostUnlocalable, HostError>
pub fn from_host(host: Host) -> Result<HostUnlocalable, HostError>
[src]
pub fn from_host(host: Host) -> Result<HostUnlocalable, HostError>
pub fn into_host(self) -> Host
[src]
pub fn into_host(self) -> Host
pub fn as_host(&self) -> &Host
[src]
pub fn as_host(&self) -> &Host
impl HostUnlocalable
[src]
impl HostUnlocalable
pub fn get_full_host(&self) -> &str
[src]
pub fn get_full_host(&self) -> &str
pub fn get_full_host_without_port(&self) -> &str
[src]
pub fn get_full_host_without_port(&self) -> &str
Trait Implementations
impl Clone for HostUnlocalable
[src]
impl Clone for HostUnlocalable
fn clone(&self) -> HostUnlocalable
[src]
fn clone(&self) -> HostUnlocalable
Returns 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
impl From<HostUnlocalable> for Host
[src]
impl From<HostUnlocalable> for Host
fn from(d: HostUnlocalable) -> Self
[src]
fn from(d: HostUnlocalable) -> Self
Performs the conversion.
impl Validated for HostUnlocalable
[src]
impl Validated for HostUnlocalable
impl ValidatedWrapper for HostUnlocalable
[src]
impl ValidatedWrapper for HostUnlocalable
type Error = HostError
fn from_string(host: String) -> Result<Self, Self::Error>
[src]
fn from_string(host: String) -> Result<Self, Self::Error>
fn from_str(host: &str) -> Result<Self, Self::Error>
[src]
fn from_str(host: &str) -> Result<Self, Self::Error>
impl Debug for HostUnlocalable
[src]
impl Debug for HostUnlocalable
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for HostUnlocalable
[src]
impl Display for HostUnlocalable
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for HostUnlocalable
[src]
impl PartialEq for HostUnlocalable
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Self) -> bool
[src]
fn ne(&self, other: &Self) -> bool
This method tests for !=
.
impl PartialEq<Host> for HostUnlocalable
[src]
impl PartialEq<Host> for HostUnlocalable
Auto Trait Implementations
impl Send for HostUnlocalable
impl Send for HostUnlocalable
impl Sync for HostUnlocalable
impl Sync for HostUnlocalable