pub struct ReadLocalSupportedCodecsV1Complete { /* private fields */ }Implementations§
Source§impl ReadLocalSupportedCodecsV1Complete
impl ReadLocalSupportedCodecsV1Complete
pub fn parse(bytes: &[u8]) -> Result<Self, Error>
pub fn get_command_op_code(&self) -> OpCode
pub fn get_event_code(&self) -> EventCode
pub fn get_num_hci_command_packets(&self) -> u8
pub fn get_status(&self) -> ErrorCode
pub fn get_supported_codecs(&self) -> &Vec<u8> ⓘ
pub fn get_vendor_specific_codecs(&self) -> &Vec<u32>
pub fn get_size(&self) -> usize
Trait Implementations§
Source§impl Clone for ReadLocalSupportedCodecsV1Complete
impl Clone for ReadLocalSupportedCodecsV1Complete
Source§fn clone(&self) -> ReadLocalSupportedCodecsV1Complete
fn clone(&self) -> ReadLocalSupportedCodecsV1Complete
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 From<ReadLocalSupportedCodecsV1Complete> for Bytes
impl From<ReadLocalSupportedCodecsV1Complete> for Bytes
Source§fn from(packet: ReadLocalSupportedCodecsV1Complete) -> Self
fn from(packet: ReadLocalSupportedCodecsV1Complete) -> Self
Converts to this type from the input type.
Source§impl From<ReadLocalSupportedCodecsV1Complete> for CommandComplete
impl From<ReadLocalSupportedCodecsV1Complete> for CommandComplete
Source§fn from(packet: ReadLocalSupportedCodecsV1Complete) -> CommandComplete
fn from(packet: ReadLocalSupportedCodecsV1Complete) -> CommandComplete
Converts to this type from the input type.
Source§impl From<ReadLocalSupportedCodecsV1Complete> for Event
impl From<ReadLocalSupportedCodecsV1Complete> for Event
Source§fn from(packet: ReadLocalSupportedCodecsV1Complete) -> Event
fn from(packet: ReadLocalSupportedCodecsV1Complete) -> Event
Converts to this type from the input type.
Source§impl From<ReadLocalSupportedCodecsV1Complete> for Vec<u8>
impl From<ReadLocalSupportedCodecsV1Complete> for Vec<u8>
Source§fn from(packet: ReadLocalSupportedCodecsV1Complete) -> Self
fn from(packet: ReadLocalSupportedCodecsV1Complete) -> Self
Converts to this type from the input type.
Source§impl From<ReadLocalSupportedCodecsV1CompleteBuilder> for ReadLocalSupportedCodecsV1Complete
impl From<ReadLocalSupportedCodecsV1CompleteBuilder> for ReadLocalSupportedCodecsV1Complete
Source§fn from(
builder: ReadLocalSupportedCodecsV1CompleteBuilder,
) -> ReadLocalSupportedCodecsV1Complete
fn from( builder: ReadLocalSupportedCodecsV1CompleteBuilder, ) -> ReadLocalSupportedCodecsV1Complete
Converts to this type from the input type.
Source§impl PartialEq for ReadLocalSupportedCodecsV1Complete
impl PartialEq for ReadLocalSupportedCodecsV1Complete
Source§fn eq(&self, other: &ReadLocalSupportedCodecsV1Complete) -> bool
fn eq(&self, other: &ReadLocalSupportedCodecsV1Complete) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ReadLocalSupportedCodecsV1Complete
impl StructuralPartialEq for ReadLocalSupportedCodecsV1Complete
Auto Trait Implementations§
impl !Freeze for ReadLocalSupportedCodecsV1Complete
impl RefUnwindSafe for ReadLocalSupportedCodecsV1Complete
impl Send for ReadLocalSupportedCodecsV1Complete
impl Sync for ReadLocalSupportedCodecsV1Complete
impl Unpin for ReadLocalSupportedCodecsV1Complete
impl UnwindSafe for ReadLocalSupportedCodecsV1Complete
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more