pub struct Gateway { /* private fields */ }
Implementations§
source§impl Gateway
impl Gateway
pub fn new<T>(ip_addr: T) -> Self
pub fn get_status(&self) -> Result<List, Error>
pub fn get_line_info(&self) -> Result<LineInfo, Error>
pub fn get_gateway_info(&self) -> Result<GatewayInfo, Error>
pub fn get_connection_info(&self) -> Result<ConnectionInfo, Error>
pub fn get_call_log( &self ) -> Result<Vec<(Call, DateTime<Local>, Option<Duration>)>, Error>
Auto Trait Implementations§
impl RefUnwindSafe for Gateway
impl Send for Gateway
impl Sync for Gateway
impl Unpin for Gateway
impl UnwindSafe for Gateway
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