Struct ForbidIndications
pub struct ForbidIndications {
pub services: Services,
}Expand description
Sets the indication filter of the modem (QMI_COMM_QMI_FORBID_IND).
The modem should then drop indications of services for all clients.
The request replaces the previous filter, and an empty set clears it. See
the crate documentation before using it.
The response only has a result word, which the client ignores. The QMI
framework adds a status TLV when it rejects a request, for example an
unknown message. Request::decode_response then returns
Error::Rejected.
Fields§
§services: ServicesServices whose indications the modem drops.
Trait Implementations§
§impl Clone for ForbidIndications
impl Clone for ForbidIndications
§fn clone(&self) -> ForbidIndications
fn clone(&self) -> ForbidIndications
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ForbidIndications
§impl Debug for ForbidIndications
impl Debug for ForbidIndications
impl Eq for ForbidIndications
§impl PartialEq for ForbidIndications
impl PartialEq for ForbidIndications
§impl Request for ForbidIndications
impl Request for ForbidIndications
impl StructuralPartialEq for ForbidIndications
Auto Trait Implementations§
impl Freeze for ForbidIndications
impl RefUnwindSafe for ForbidIndications
impl Send for ForbidIndications
impl Sync for ForbidIndications
impl Unpin for ForbidIndications
impl UnsafeUnpin for ForbidIndications
impl UnwindSafe for ForbidIndications
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