[−][src]Struct libsip::registration::RegistrationManager
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]
fn clone(&self) -> RegistrationManager
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<RegistrationManager> for RegistrationManager
[src]
fn eq(&self, other: &RegistrationManager) -> bool
[src]
fn ne(&self, other: &RegistrationManager) -> bool
[src]
impl Debug for RegistrationManager
[src]
Auto Trait Implementations
impl Send for RegistrationManager
impl Unpin for RegistrationManager
impl Sync for RegistrationManager
impl UnwindSafe for RegistrationManager
impl RefUnwindSafe for RegistrationManager
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,