pub struct ReadClockOffsetStatus { /* private fields */ }Implementations§
Source§impl ReadClockOffsetStatus
impl ReadClockOffsetStatus
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_size(&self) -> usize
Trait Implementations§
Source§impl Clone for ReadClockOffsetStatus
impl Clone for ReadClockOffsetStatus
Source§fn clone(&self) -> ReadClockOffsetStatus
fn clone(&self) -> ReadClockOffsetStatus
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 ReadClockOffsetStatus
impl Debug for ReadClockOffsetStatus
Source§impl From<ReadClockOffsetStatus> for Bytes
impl From<ReadClockOffsetStatus> for Bytes
Source§fn from(packet: ReadClockOffsetStatus) -> Self
fn from(packet: ReadClockOffsetStatus) -> Self
Converts to this type from the input type.
Source§impl From<ReadClockOffsetStatus> for CommandStatus
impl From<ReadClockOffsetStatus> for CommandStatus
Source§fn from(packet: ReadClockOffsetStatus) -> CommandStatus
fn from(packet: ReadClockOffsetStatus) -> CommandStatus
Converts to this type from the input type.
Source§impl From<ReadClockOffsetStatus> for Event
impl From<ReadClockOffsetStatus> for Event
Source§fn from(packet: ReadClockOffsetStatus) -> Event
fn from(packet: ReadClockOffsetStatus) -> Event
Converts to this type from the input type.
Source§impl From<ReadClockOffsetStatus> for Vec<u8>
impl From<ReadClockOffsetStatus> for Vec<u8>
Source§fn from(packet: ReadClockOffsetStatus) -> Self
fn from(packet: ReadClockOffsetStatus) -> Self
Converts to this type from the input type.
Source§impl From<ReadClockOffsetStatusBuilder> for ReadClockOffsetStatus
impl From<ReadClockOffsetStatusBuilder> for ReadClockOffsetStatus
Source§fn from(builder: ReadClockOffsetStatusBuilder) -> ReadClockOffsetStatus
fn from(builder: ReadClockOffsetStatusBuilder) -> ReadClockOffsetStatus
Converts to this type from the input type.
Source§impl Packet for ReadClockOffsetStatus
impl Packet for ReadClockOffsetStatus
Source§impl PartialEq for ReadClockOffsetStatus
impl PartialEq for ReadClockOffsetStatus
Source§impl TryFrom<Event> for ReadClockOffsetStatus
impl TryFrom<Event> for ReadClockOffsetStatus
impl Eq for ReadClockOffsetStatus
impl StructuralPartialEq for ReadClockOffsetStatus
Auto Trait Implementations§
impl !Freeze for ReadClockOffsetStatus
impl RefUnwindSafe for ReadClockOffsetStatus
impl Send for ReadClockOffsetStatus
impl Sync for ReadClockOffsetStatus
impl Unpin for ReadClockOffsetStatus
impl UnwindSafe for ReadClockOffsetStatus
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