#[repr(C)]
pub union Kind {
pub request_index: u16,
pub in_response_to: u16,
}
Fields§
§request_index: u16
§in_response_to: u16
Trait Implementations§
source§impl PartialEq for Kind
impl PartialEq for Kind
source§impl ReadFromBytes for Kind
impl ReadFromBytes for Kind
source§fn read_from_bytes<R: ReadBytesExt>(reader: R) -> Result<Self>
fn read_from_bytes<R: ReadBytesExt>(reader: R) -> Result<Self>
Read the command from bytes.
source§impl WriteToBytes for Kind
impl WriteToBytes for Kind
source§fn write_to_bytes<W: WriteBytesExt>(&self, writer: W) -> Result<()>
fn write_to_bytes<W: WriteBytesExt>(&self, writer: W) -> Result<()>
Write the command to bytes.
impl Copy for Kind
impl Eq for Kind
Auto Trait Implementations§
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnwindSafe for Kind
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