pub struct ChangeConnectionLinkKeyStatus { /* private fields */ }Implementations§
Source§impl ChangeConnectionLinkKeyStatus
impl ChangeConnectionLinkKeyStatus
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 ChangeConnectionLinkKeyStatus
impl Clone for ChangeConnectionLinkKeyStatus
Source§fn clone(&self) -> ChangeConnectionLinkKeyStatus
fn clone(&self) -> ChangeConnectionLinkKeyStatus
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<ChangeConnectionLinkKeyStatus> for Bytes
impl From<ChangeConnectionLinkKeyStatus> for Bytes
Source§fn from(packet: ChangeConnectionLinkKeyStatus) -> Self
fn from(packet: ChangeConnectionLinkKeyStatus) -> Self
Converts to this type from the input type.
Source§impl From<ChangeConnectionLinkKeyStatus> for CommandStatus
impl From<ChangeConnectionLinkKeyStatus> for CommandStatus
Source§fn from(packet: ChangeConnectionLinkKeyStatus) -> CommandStatus
fn from(packet: ChangeConnectionLinkKeyStatus) -> CommandStatus
Converts to this type from the input type.
Source§impl From<ChangeConnectionLinkKeyStatus> for Event
impl From<ChangeConnectionLinkKeyStatus> for Event
Source§fn from(packet: ChangeConnectionLinkKeyStatus) -> Event
fn from(packet: ChangeConnectionLinkKeyStatus) -> Event
Converts to this type from the input type.
Source§impl From<ChangeConnectionLinkKeyStatus> for Vec<u8>
impl From<ChangeConnectionLinkKeyStatus> for Vec<u8>
Source§fn from(packet: ChangeConnectionLinkKeyStatus) -> Self
fn from(packet: ChangeConnectionLinkKeyStatus) -> Self
Converts to this type from the input type.
Source§impl From<ChangeConnectionLinkKeyStatusBuilder> for ChangeConnectionLinkKeyStatus
impl From<ChangeConnectionLinkKeyStatusBuilder> for ChangeConnectionLinkKeyStatus
Source§fn from(
builder: ChangeConnectionLinkKeyStatusBuilder,
) -> ChangeConnectionLinkKeyStatus
fn from( builder: ChangeConnectionLinkKeyStatusBuilder, ) -> ChangeConnectionLinkKeyStatus
Converts to this type from the input type.
Source§impl PartialEq for ChangeConnectionLinkKeyStatus
impl PartialEq for ChangeConnectionLinkKeyStatus
Source§fn eq(&self, other: &ChangeConnectionLinkKeyStatus) -> bool
fn eq(&self, other: &ChangeConnectionLinkKeyStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<Event> for ChangeConnectionLinkKeyStatus
impl TryFrom<Event> for ChangeConnectionLinkKeyStatus
impl Eq for ChangeConnectionLinkKeyStatus
impl StructuralPartialEq for ChangeConnectionLinkKeyStatus
Auto Trait Implementations§
impl !Freeze for ChangeConnectionLinkKeyStatus
impl RefUnwindSafe for ChangeConnectionLinkKeyStatus
impl Send for ChangeConnectionLinkKeyStatus
impl Sync for ChangeConnectionLinkKeyStatus
impl Unpin for ChangeConnectionLinkKeyStatus
impl UnwindSafe for ChangeConnectionLinkKeyStatus
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