pub struct GetNames {
pub device_spec: DeviceSpec,
pub which: NameDetail,
}
Expand description
The GetNames
request.
This request replies GetNamesReply.
Associated cookie types are GetNamesCookie and GetNamesCookieUnchecked.
Fields
device_spec: DeviceSpec
which: NameDetail
Trait Implementations
sourceimpl RawRequest for GetNames
impl RawRequest for GetNames
sourcefn 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
sourceimpl Request for GetNames
impl Request for GetNames
type Cookie = GetNamesCookie
type Cookie = GetNamesCookie
The default cookie associated to this request.
sourceimpl RequestWithReply for GetNames
impl RequestWithReply for GetNames
type Reply = GetNamesReply
type Reply = GetNamesReply
Reply associated with the request
type Cookie = GetNamesCookie
type Cookie = GetNamesCookie
Default cookie type for the request, as returned by Connection::send_request.
type CookieUnchecked = GetNamesCookieUnchecked
type CookieUnchecked = GetNamesCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations
impl RefUnwindSafe for GetNames
impl Send for GetNames
impl Sync for GetNames
impl Unpin for GetNames
impl UnwindSafe for GetNames
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more