#[repr(C)]pub struct IpcHandshakeReply {
pub magic: u32,
pub protocol_version: u16,
pub status: u16,
pub server_abi_major: u16,
pub server_abi_minor: u16,
pub flags: u32,
}Expand description
Server reply to a handshake.
Fields§
§magic: u32§protocol_version: u16§status: u16§server_abi_major: u16§server_abi_minor: u16§flags: u32Implementations§
Trait Implementations§
Source§impl Clone for IpcHandshakeReply
impl Clone for IpcHandshakeReply
Source§fn clone(&self) -> IpcHandshakeReply
fn clone(&self) -> IpcHandshakeReply
Returns a duplicate 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 IpcHandshakeReply
impl Debug for IpcHandshakeReply
Source§impl FromBytes for IpcHandshakeReply
impl FromBytes for IpcHandshakeReply
Source§impl FromZeros for IpcHandshakeReply
impl FromZeros for IpcHandshakeReply
Source§impl IntoBytes for IpcHandshakeReply
impl IntoBytes for IpcHandshakeReply
§fn as_mut_bytes(&mut self) -> &mut [u8]where
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8]where
Self: FromBytes,
Gets the bytes of this value mutably. Read more
Source§impl TryFromBytes for IpcHandshakeReply
impl TryFromBytes for IpcHandshakeReply
§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for IpcHandshakeReply
Auto Trait Implementations§
impl Freeze for IpcHandshakeReply
impl RefUnwindSafe for IpcHandshakeReply
impl Send for IpcHandshakeReply
impl Sync for IpcHandshakeReply
impl Unpin for IpcHandshakeReply
impl UnsafeUnpin for IpcHandshakeReply
impl UnwindSafe for IpcHandshakeReply
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