[][src]Trait libsip::SipMessageExt

pub trait SipMessageExt {
    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

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>

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

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

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

Loading content...

Implementors

Loading content...