[−][src]Struct sipcore::sipuri::SipUri
Its general form, in the case of a SIP URI, is: sip:user:password@host:port;uri-parameters?headers
Fields
scheme: RequestUriScheme
hostport: HostPort<'a>
Implementations
impl<'a> SipUri<'a>
[src]
pub fn user_info(&self) -> Option<&UserInfo<'a>>
[src]
pub fn params(&self) -> Option<&GenericParams<'a>>
[src]
pub fn headers(&self) -> Option<&BTreeMap<&'a str, &'a str>>
[src]
pub fn parse_ext(
input: &'a [u8],
parse_with_parameters: bool
) -> Result<(&'a [u8], SipUri<'a>), Err<SipParseError<'a>>>
[src]
input: &'a [u8],
parse_with_parameters: bool
) -> Result<(&'a [u8], SipUri<'a>), Err<SipParseError<'a>>>
Trait Implementations
impl<'a> Debug for SipUri<'a>
[src]
impl<'a> NomParser<'a> for SipUri<'a>
[src]
type ParseResult = SipUri<'a>
fn parse(
input: &'a [u8]
) -> Result<(&'a [u8], <SipUri<'a> as NomParser<'a>>::ParseResult), Err<SipParseError<'a>>>
[src]
input: &'a [u8]
) -> Result<(&'a [u8], <SipUri<'a> as NomParser<'a>>::ParseResult), Err<SipParseError<'a>>>
impl<'a> PartialEq<SipUri<'a>> for SipUri<'a>
[src]
impl<'a> StructuralPartialEq for SipUri<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for SipUri<'a>
impl<'a> Send for SipUri<'a>
impl<'a> Sync for SipUri<'a>
impl<'a> Unpin for SipUri<'a>
impl<'a> UnwindSafe for SipUri<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,