Struct DataCall
pub struct DataCall<'a> {
client: &'a Client,
id: DataCallId,
}Fields§
§client: &'a Client§id: DataCallIdImplementations§
§impl<'a> DataCall<'a>
impl<'a> DataCall<'a>
pub const fn new(client: &'a Client, id: DataCallId) -> Self
pub fn stop(self) -> Result<()>
pub fn status(&self) -> Result<DataCallStatus>
pub fn bearer_technology(&self) -> Result<BearerTechnology>
pub fn device_name(&self) -> Result<String>
pub fn device_address(&self) -> Result<CallAddrInfoList>
pub fn packet_statistics(&self) -> Result<PktStatisticInfo>
pub fn reset_packet_statistics(&self) -> Result<()>
pub fn channel_rate(&self) -> Result<ChannelRateInfo>
pub fn profile_idx(&self) -> u32
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DataCall<'a>
impl<'a> RefUnwindSafe for DataCall<'a>
impl<'a> Send for DataCall<'a>
impl<'a> Sync for DataCall<'a>
impl<'a> Unpin for DataCall<'a>
impl<'a> UnwindSafe for DataCall<'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