[][src]Struct sipcore::common::hostport::HostPort

pub struct HostPort<'a> {
    pub host: &'a str,
    pub port: Option<u16>,
}

Fields

host: &'a strport: Option<u16>

Implementations

impl<'a> HostPort<'a>[src]

Trait Implementations

impl<'a> Debug for HostPort<'a>[src]

impl<'a> NomParser<'a> for HostPort<'a>[src]

type ParseResult = HostPort<'a>

impl<'a> PartialEq<HostPort<'a>> for HostPort<'a>[src]

impl<'a> StructuralPartialEq for HostPort<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for HostPort<'a>

impl<'a> Send for HostPort<'a>

impl<'a> Sync for HostPort<'a>

impl<'a> Unpin for HostPort<'a>

impl<'a> UnwindSafe for HostPort<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.