[][src]Struct libsip::registration::RegistrationManager

pub struct RegistrationManager { /* fields omitted */ }

Handle's the SIP registration process.

Methods

impl RegistrationManager[src]

pub fn new(account_uri: Uri, local_uri: Uri, cfg: Config) -> RegistrationManager[src]

pub fn username<S: Into<String>>(&mut self, s: S)[src]

pub fn password<S: Into<String>>(&mut self, p: S)[src]

pub fn get_request(&mut self) -> Result<SipMessage, Error>[src]

pub fn set_challenge(&mut self, msg: SipMessage) -> Result<(), Error>[src]

pub fn set_auth_vars(&mut self, d: AuthHeader) -> Result<(), Error>[src]

pub fn expires(&self) -> u32[src]

Trait Implementations

impl Clone for RegistrationManager[src]

impl PartialEq<RegistrationManager> for RegistrationManager[src]

impl Debug for RegistrationManager[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for 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.

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

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

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