pub struct GetDeviceControl {
pub control_id: DeviceControl,
pub device_id: u8,
}Expand description
The GetDeviceControl request.
This request replies GetDeviceControlReply.
Associated cookie types are GetDeviceControlCookie and GetDeviceControlCookieUnchecked.
Fields§
§control_id: DeviceControl§device_id: u8Trait Implementations§
Source§impl Clone for GetDeviceControl
impl Clone for GetDeviceControl
Source§fn clone(&self) -> GetDeviceControl
fn clone(&self) -> GetDeviceControl
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetDeviceControl
impl Debug for GetDeviceControl
Source§impl RawRequest for GetDeviceControl
impl RawRequest for GetDeviceControl
Source§fn raw_request(&self, c: &Connection, checked: bool) -> u64
fn raw_request(&self, c: &Connection, checked: bool) -> u64
Actual implementation of the request sending Read more
Source§impl Request for GetDeviceControl
impl Request for GetDeviceControl
Source§impl RequestWithReply for GetDeviceControl
impl RequestWithReply for GetDeviceControl
Source§type Reply = GetDeviceControlReply
type Reply = GetDeviceControlReply
Reply associated with the request
Source§type Cookie = GetDeviceControlCookie
type Cookie = GetDeviceControlCookie
Default cookie type for the request, as returned by Connection::send_request.
Source§type CookieUnchecked = GetDeviceControlCookieUnchecked
type CookieUnchecked = GetDeviceControlCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl Freeze for GetDeviceControl
impl RefUnwindSafe for GetDeviceControl
impl Send for GetDeviceControl
impl Sync for GetDeviceControl
impl Unpin for GetDeviceControl
impl UnwindSafe for GetDeviceControl
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