pub struct UseExtension {
pub wanted_major: u16,
pub wanted_minor: u16,
}Expand description
The UseExtension request.
This request replies UseExtensionReply.
Associated cookie types are UseExtensionCookie and UseExtensionCookieUnchecked.
Fields§
§wanted_major: u16§wanted_minor: u16Trait Implementations§
Source§impl Clone for UseExtension
impl Clone for UseExtension
Source§fn clone(&self) -> UseExtension
fn clone(&self) -> UseExtension
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 UseExtension
impl Debug for UseExtension
Source§impl RawRequest for UseExtension
impl RawRequest for UseExtension
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 UseExtension
impl Request for UseExtension
Source§impl RequestWithReply for UseExtension
impl RequestWithReply for UseExtension
Source§type Reply = UseExtensionReply
type Reply = UseExtensionReply
Reply associated with the request
Source§type Cookie = UseExtensionCookie
type Cookie = UseExtensionCookie
Default cookie type for the request, as returned by Connection::send_request.
Source§type CookieUnchecked = UseExtensionCookieUnchecked
type CookieUnchecked = UseExtensionCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl Freeze for UseExtension
impl RefUnwindSafe for UseExtension
impl Send for UseExtension
impl Sync for UseExtension
impl Unpin for UseExtension
impl UnwindSafe for UseExtension
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