Struct Client
pub struct Client {
qmi: Client<Quec>,
}Expand description
Client of the common service.
Its Connection must run for requests to complete.
Cloning the client is cheap. Dropping every clone stops the connection.
Fields§
§qmi: Client<Quec>Implementations§
§impl Client
impl Client
pub const fn builder() -> ClientBuilder<Quec, Self>
pub const fn builder() -> ClientBuilder<Quec, Self>
Returns a builder for the client, for example to change the request timeout.
pub fn forbid_indications(&self, services: Services) -> RequestBuilder<'_, ()>
pub fn forbid_indications(&self, services: Services) -> RequestBuilder<'_, ()>
Sets the indication filter of the modem. Sends ForbidIndications.
An empty set clears it. See the crate documentation before using it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnsafeUnpin for Client
impl UnwindSafe for Client
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