Struct common_messages_sv2::CSetupConnection
source · #[repr(C)]pub struct CSetupConnection {
pub protocol: Protocol,
pub min_version: u16,
pub max_version: u16,
pub flags: u32,
pub endpoint_host: CVec,
pub endpoint_port: u16,
pub vendor: CVec,
pub hardware_version: CVec,
pub firmware: CVec,
pub device_id: CVec,
}
Fields§
§protocol: Protocol
§min_version: u16
§max_version: u16
§flags: u32
§endpoint_host: CVec
§endpoint_port: u16
§vendor: CVec
§hardware_version: CVec
§firmware: CVec
§device_id: CVec
Implementations§
source§impl<'a> CSetupConnection
impl<'a> CSetupConnection
pub fn to_rust_rep_mut(&'a mut self) -> Result<SetupConnection<'a>, Error>
Trait Implementations§
source§impl Clone for CSetupConnection
impl Clone for CSetupConnection
source§fn clone(&self) -> CSetupConnection
fn clone(&self) -> CSetupConnection
Returns a copy 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 CSetupConnection
impl Debug for CSetupConnection
source§impl Drop for CSetupConnection
impl Drop for CSetupConnection
source§impl<'a> From<SetupConnection<'a>> for CSetupConnection
impl<'a> From<SetupConnection<'a>> for CSetupConnection
source§fn from(v: SetupConnection<'_>) -> Self
fn from(v: SetupConnection<'_>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CSetupConnection
impl RefUnwindSafe for CSetupConnection
impl !Send for CSetupConnection
impl !Sync for CSetupConnection
impl Unpin for CSetupConnection
impl UnwindSafe for CSetupConnection
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