pub struct Dial<'a> { /* private fields */ }
Implementations§
Source§impl<'a> Dial<'a>
impl<'a> Dial<'a>
pub fn new(number: &'a str) -> Dial<'a>
pub fn method(self, method: Method) -> Dial<'a>
pub fn action(self, url: &'a str) -> Dial<'a>
pub fn record(self, status: Record) -> Dial<'a>
pub fn recording_callback(self, url: &'a str) -> Dial<'a>
pub fn timeout(self, timeout: usize) -> Dial<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Dial<'a>
impl<'a> RefUnwindSafe for Dial<'a>
impl<'a> Send for Dial<'a>
impl<'a> Sync for Dial<'a>
impl<'a> Unpin for Dial<'a>
impl<'a> UnwindSafe for Dial<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more