pub struct OpenDevice {
pub device_id: u8,
}Expand description
The OpenDevice request.
This request replies OpenDeviceReply.
Associated cookie types are OpenDeviceCookie and OpenDeviceCookieUnchecked.
Fields§
§device_id: u8Trait Implementations§
Source§impl Clone for OpenDevice
impl Clone for OpenDevice
Source§fn clone(&self) -> OpenDevice
fn clone(&self) -> OpenDevice
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 moreSource§impl Debug for OpenDevice
impl Debug for OpenDevice
Source§impl RawRequest for OpenDevice
impl RawRequest for OpenDevice
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 OpenDevice
impl Request for OpenDevice
Source§impl RequestWithReply for OpenDevice
impl RequestWithReply for OpenDevice
Source§type Reply = OpenDeviceReply
type Reply = OpenDeviceReply
Reply associated with the request
Source§type Cookie = OpenDeviceCookie
type Cookie = OpenDeviceCookie
Default cookie type for the request, as returned by Connection::send_request.
Source§type CookieUnchecked = OpenDeviceCookieUnchecked
type CookieUnchecked = OpenDeviceCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl Freeze for OpenDevice
impl RefUnwindSafe for OpenDevice
impl Send for OpenDevice
impl Sync for OpenDevice
impl Unpin for OpenDevice
impl UnsafeUnpin for OpenDevice
impl UnwindSafe for OpenDevice
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