Trait SipMessageExt

Source
pub trait SipMessageExt {
Show 22 methods // Required methods fn from_header(&self) -> Option<&NamedHeader>; fn from_header_mut(&mut self) -> Option<&mut NamedHeader>; fn from_header_tag(&self) -> Option<&String>; fn set_from_header_tag(&mut self, tag: String); fn from_header_username(&self) -> Option<&String>; fn to_header(&self) -> Option<&NamedHeader>; fn to_header_mut(&mut self) -> Option<&mut NamedHeader>; fn to_header_tag(&self) -> Option<&String>; fn set_to_header_tag(&mut self, tag: String); fn to_header_username(&self) -> Option<&String>; fn via_header(&self) -> Option<&ViaHeader>; fn via_header_mut(&mut self) -> Option<&mut ViaHeader>; fn via_header_branch(&self) -> Option<&String>; fn call_id(&self) -> Option<&String>; fn call_id_mut(&mut self) -> Option<&mut String>; fn cseq(&self) -> Option<(u32, Method)>; fn cseq_mut(&mut self) -> Option<(&mut u32, &mut Method)>; fn contact_header(&self) -> Option<&NamedHeader>; fn contact_header_mut(&mut self) -> Option<&mut NamedHeader>; fn contact_header_expires(&self) -> Option<u32>; fn expires_header(&self) -> Option<u32>; fn expires_header_mut(&mut self) -> Option<&mut u32>;
}

Required Methods§

Source

fn from_header(&self) -> Option<&NamedHeader>

Source

fn from_header_mut(&mut self) -> Option<&mut NamedHeader>

Source

fn from_header_tag(&self) -> Option<&String>

Source

fn set_from_header_tag(&mut self, tag: String)

Source

fn from_header_username(&self) -> Option<&String>

Source

fn to_header(&self) -> Option<&NamedHeader>

Source

fn to_header_mut(&mut self) -> Option<&mut NamedHeader>

Source

fn to_header_tag(&self) -> Option<&String>

Source

fn set_to_header_tag(&mut self, tag: String)

Source

fn to_header_username(&self) -> Option<&String>

Source

fn via_header(&self) -> Option<&ViaHeader>

Source

fn via_header_mut(&mut self) -> Option<&mut ViaHeader>

Source

fn via_header_branch(&self) -> Option<&String>

Source

fn call_id(&self) -> Option<&String>

Source

fn call_id_mut(&mut self) -> Option<&mut String>

Source

fn cseq(&self) -> Option<(u32, Method)>

Source

fn cseq_mut(&mut self) -> Option<(&mut u32, &mut Method)>

Source

fn contact_header(&self) -> Option<&NamedHeader>

Source

fn contact_header_mut(&mut self) -> Option<&mut NamedHeader>

Source

fn contact_header_expires(&self) -> Option<u32>

Returns number of seconds if it’s specified in the Contact header

Source

fn expires_header(&self) -> Option<u32>

Source

fn expires_header_mut(&mut self) -> Option<&mut u32>

Implementors§