pub struct Request { /* private fields */ }Expand description
A device request to be sent to a device.
A request can either be plain, with no associated parameters, or include parameters that serve as inputs for device tasks.
Implementations§
Source§impl Request
impl Request
Sourcepub fn parameters_data(&self) -> Option<&ParametersData>
pub fn parameters_data(&self) -> Option<&ParametersData>
Returns an immutable reference to the ParametersData associated with
a request.
If None, the request does not contain any ParametersData.
Trait Implementations§
impl StructuralPartialEq for Request
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
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