pub struct SetDebuggingFlagsRequest<'input> {
pub affect_flags: u32,
pub flags: u32,
pub affect_ctrls: u32,
pub ctrls: u32,
pub message: Cow<'input, [u8]>,
}Fields
affect_flags: u32flags: u32affect_ctrls: u32ctrls: u32message: Cow<'input, [u8]>Implementations
sourceimpl<'input> SetDebuggingFlagsRequest<'input>
impl<'input> SetDebuggingFlagsRequest<'input>
sourcepub fn serialize(
self,
major_opcode: u8
) -> (Vec<Cow<'input, [u8]>, Global>, Vec<RawFdContainer, Global>)
pub fn serialize(
self,
major_opcode: u8
) -> (Vec<Cow<'input, [u8]>, Global>, Vec<RawFdContainer, Global>)
Serialize this request into bytes for the provided connection
sourcepub fn try_parse_request(
header: RequestHeader,
value: &'input [u8]
) -> Result<SetDebuggingFlagsRequest<'input>, ParseError>
pub fn try_parse_request(
header: RequestHeader,
value: &'input [u8]
) -> Result<SetDebuggingFlagsRequest<'input>, ParseError>
Parse this request given its header, its body, and any fds that go along with it
sourcepub fn into_owned(self) -> SetDebuggingFlagsRequest<'static>
pub fn into_owned(self) -> SetDebuggingFlagsRequest<'static>
Clone all borrowed data in this SetDebuggingFlagsRequest.
Trait Implementations
sourceimpl<'input> Clone for SetDebuggingFlagsRequest<'input>
impl<'input> Clone for SetDebuggingFlagsRequest<'input>
sourcefn clone(&self) -> SetDebuggingFlagsRequest<'input>
fn clone(&self) -> SetDebuggingFlagsRequest<'input>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'input> Debug for SetDebuggingFlagsRequest<'input>
impl<'input> Debug for SetDebuggingFlagsRequest<'input>
sourceimpl<'input> Default for SetDebuggingFlagsRequest<'input>
impl<'input> Default for SetDebuggingFlagsRequest<'input>
sourcefn default() -> SetDebuggingFlagsRequest<'input>
fn default() -> SetDebuggingFlagsRequest<'input>
Returns the “default value” for a type. Read more
sourceimpl<'input> Hash for SetDebuggingFlagsRequest<'input>
impl<'input> Hash for SetDebuggingFlagsRequest<'input>
sourceimpl<'input> Ord for SetDebuggingFlagsRequest<'input>
impl<'input> Ord for SetDebuggingFlagsRequest<'input>
sourceimpl<'input> PartialEq<SetDebuggingFlagsRequest<'input>> for SetDebuggingFlagsRequest<'input>
impl<'input> PartialEq<SetDebuggingFlagsRequest<'input>> for SetDebuggingFlagsRequest<'input>
sourcefn eq(&self, other: &SetDebuggingFlagsRequest<'input>) -> bool
fn eq(&self, other: &SetDebuggingFlagsRequest<'input>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SetDebuggingFlagsRequest<'input>) -> bool
fn ne(&self, other: &SetDebuggingFlagsRequest<'input>) -> bool
This method tests for !=.
sourceimpl<'input> PartialOrd<SetDebuggingFlagsRequest<'input>> for SetDebuggingFlagsRequest<'input>
impl<'input> PartialOrd<SetDebuggingFlagsRequest<'input>> for SetDebuggingFlagsRequest<'input>
sourcefn partial_cmp(
&self,
other: &SetDebuggingFlagsRequest<'input>
) -> Option<Ordering>
fn partial_cmp(
&self,
other: &SetDebuggingFlagsRequest<'input>
) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
sourceimpl<'input> ReplyRequest for SetDebuggingFlagsRequest<'input>
impl<'input> ReplyRequest for SetDebuggingFlagsRequest<'input>
type Reply = SetDebuggingFlagsReply
type Reply = SetDebuggingFlagsReply
The kind of reply that this request generates.
sourceimpl<'input> Request for SetDebuggingFlagsRequest<'input>
impl<'input> Request for SetDebuggingFlagsRequest<'input>
sourceconst EXTENSION_NAME: Option<&'static str> = Some(X11_EXTENSION_NAME)
const EXTENSION_NAME: Option<&'static str> = Some(X11_EXTENSION_NAME)
The protocol name of the extension that this request belongs to, or None for core requests
impl<'input> Eq for SetDebuggingFlagsRequest<'input>
impl<'input> StructuralEq for SetDebuggingFlagsRequest<'input>
impl<'input> StructuralPartialEq for SetDebuggingFlagsRequest<'input>
Auto Trait Implementations
impl<'input> RefUnwindSafe for SetDebuggingFlagsRequest<'input>
impl<'input> Send for SetDebuggingFlagsRequest<'input>
impl<'input> Sync for SetDebuggingFlagsRequest<'input>
impl<'input> Unpin for SetDebuggingFlagsRequest<'input>
impl<'input> UnwindSafe for SetDebuggingFlagsRequest<'input>
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