pub struct SetupRequest { /* private fields */ }Implementations§
Source§impl SetupRequest
impl SetupRequest
pub fn byte_order(&self) -> u8
pub fn protocol_major_version(&self) -> u16
pub fn protocol_minor_version(&self) -> u16
Trait Implementations§
Source§impl Borrow<SetupRequest> for SetupRequestBuf
impl Borrow<SetupRequest> for SetupRequestBuf
Source§fn borrow(&self) -> &SetupRequest
fn borrow(&self) -> &SetupRequest
Immutably borrows from an owned value. Read more
Source§impl Debug for SetupRequest
impl Debug for SetupRequest
Source§impl ToOwned for SetupRequest
impl ToOwned for SetupRequest
Source§type Owned = SetupRequestBuf
type Owned = SetupRequestBuf
The resulting type after obtaining ownership.
Source§fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · Source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more