pub struct VersionTLV {
pub version: AWDLVersion,
pub device_class: AWDLDeviceClass,
}Expand description
A TLV containing the actual version of the AWDL protocol.
Fields§
§version: AWDLVersionThe AWDL protocol version.
device_class: AWDLDeviceClassThe device class.
Trait Implementations§
Source§impl AwdlTlv for VersionTLV
impl AwdlTlv for VersionTLV
const TLV_TYPE: AWDLTLVType = AWDLTLVType::Version
Source§impl Clone for VersionTLV
impl Clone for VersionTLV
Source§fn clone(&self) -> VersionTLV
fn clone(&self) -> VersionTLV
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 VersionTLV
impl Debug for VersionTLV
Source§impl Default for VersionTLV
impl Default for VersionTLV
Source§fn default() -> VersionTLV
fn default() -> VersionTLV
Returns the “default value” for a type. Read more
Source§impl MeasureWith<()> for VersionTLV
impl MeasureWith<()> for VersionTLV
Source§fn measure_with(&self, _ctx: &()) -> usize
fn measure_with(&self, _ctx: &()) -> usize
How large is
Self, given the ctx?Source§impl PartialEq for VersionTLV
impl PartialEq for VersionTLV
Source§impl<'a> TryFromCtx<'a> for VersionTLV
impl<'a> TryFromCtx<'a> for VersionTLV
Source§impl TryIntoCtx for VersionTLV
impl TryIntoCtx for VersionTLV
impl Copy for VersionTLV
impl Eq for VersionTLV
impl StructuralPartialEq for VersionTLV
Auto Trait Implementations§
impl Freeze for VersionTLV
impl RefUnwindSafe for VersionTLV
impl Send for VersionTLV
impl Sync for VersionTLV
impl Unpin for VersionTLV
impl UnwindSafe for VersionTLV
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