Struct validators::host::HostUnlocalable [−][src]
pub struct HostUnlocalable(_);
Methods
impl HostUnlocalable[src]
impl HostUnlocalablepub 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) -> Hostpub fn as_host(&self) -> &Host[src]
pub fn as_host(&self) -> &Hostimpl HostUnlocalable[src]
impl HostUnlocalablepub fn get_full_host(&self) -> &str[src]
pub fn get_full_host(&self) -> &strpub fn get_full_host_without_port(&self) -> &str[src]
pub fn get_full_host_without_port(&self) -> &strTrait Implementations
impl Clone for HostUnlocalable[src]
impl Clone for HostUnlocalablefn clone(&self) -> HostUnlocalable[src]
fn clone(&self) -> HostUnlocalableReturns 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 Hostfn from(d: HostUnlocalable) -> Self[src]
fn from(d: HostUnlocalable) -> SelfPerforms the conversion.
impl Validated for HostUnlocalable[src]
impl Validated for HostUnlocalableimpl Debug for HostUnlocalable[src]
impl Debug for HostUnlocalablefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for HostUnlocalable[src]
impl Display for HostUnlocalablefn 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 HostUnlocalable[src]
impl PartialEq for HostUnlocalablefn eq(&self, other: &Self) -> bool[src]
fn eq(&self, other: &Self) -> boolThis 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) -> boolThis method tests for !=.
impl PartialEq<Host> for HostUnlocalable[src]
impl PartialEq<Host> for HostUnlocalableAuto Trait Implementations
impl Send for HostUnlocalable
impl Send for HostUnlocalableimpl Sync for HostUnlocalable
impl Sync for HostUnlocalable