[][src]Struct sipmsg::SipResponse

pub struct SipResponse<'a> {
    pub sl: StatusLine<'a>,
    pub headers: Headers<'a>,
    pub body: Option<&'a [u8]>,
}

Fields

sl: StatusLine<'a>

Status line. Ex: SIP/2.0 401 Unauthorized

headers: Headers<'a>

The response headers.

body: Option<&'a [u8]>

Body

Trait Implementations

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

type ParseResult = Response<'a>

Auto Trait Implementations

impl<'a> RefUnwindSafe for Response<'a>

impl<'a> Send for Response<'a>

impl<'a> Sync for Response<'a>

impl<'a> Unpin for Response<'a>

impl<'a> UnwindSafe for Response<'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.