Struct x11rb_protocol::protocol::shm::CreateSegmentReply
source · pub struct CreateSegmentReply {
pub nfd: u8,
pub sequence: u16,
pub length: u32,
pub shm_fd: RawFdContainer,
}
Fields§
§nfd: u8
§sequence: u16
§length: u32
§shm_fd: RawFdContainer
Trait Implementations§
source§impl Debug for CreateSegmentReply
impl Debug for CreateSegmentReply
source§impl From<CreateSegmentReply> for Reply
impl From<CreateSegmentReply> for Reply
source§fn from(reply: CreateSegmentReply) -> Reply
fn from(reply: CreateSegmentReply) -> Reply
Converts to this type from the input type.
source§impl PartialEq<CreateSegmentReply> for CreateSegmentReply
impl PartialEq<CreateSegmentReply> for CreateSegmentReply
source§fn eq(&self, other: &CreateSegmentReply) -> bool
fn eq(&self, other: &CreateSegmentReply) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CreateSegmentReply
impl Serialize for CreateSegmentReply
source§impl TryParseFd for CreateSegmentReply
impl TryParseFd for CreateSegmentReply
source§fn try_parse_fd<'a>(
initial_value: &'a [u8],
fds: &mut Vec<RawFdContainer>
) -> Result<(Self, &'a [u8]), ParseError>
fn try_parse_fd<'a>(
initial_value: &'a [u8],
fds: &mut Vec<RawFdContainer>
) -> Result<(Self, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more