pub struct IoCapabilityRequestReply { /* private fields */ }Implementations§
Source§impl IoCapabilityRequestReply
impl IoCapabilityRequestReply
pub fn parse(bytes: &[u8]) -> Result<Self, Error>
pub fn get_authentication_requirements(&self) -> AuthenticationRequirements
pub fn get_bd_addr(&self) -> Address
pub fn get_io_capability(&self) -> IoCapability
pub fn get_oob_present(&self) -> OobDataPresent
pub fn get_op_code(&self) -> OpCode
pub fn get_size(&self) -> usize
Trait Implementations§
Source§impl Clone for IoCapabilityRequestReply
impl Clone for IoCapabilityRequestReply
Source§fn clone(&self) -> IoCapabilityRequestReply
fn clone(&self) -> IoCapabilityRequestReply
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 IoCapabilityRequestReply
impl Debug for IoCapabilityRequestReply
Source§impl From<IoCapabilityRequestReply> for Bytes
impl From<IoCapabilityRequestReply> for Bytes
Source§fn from(packet: IoCapabilityRequestReply) -> Self
fn from(packet: IoCapabilityRequestReply) -> Self
Converts to this type from the input type.
Source§impl From<IoCapabilityRequestReply> for Command
impl From<IoCapabilityRequestReply> for Command
Source§fn from(packet: IoCapabilityRequestReply) -> Command
fn from(packet: IoCapabilityRequestReply) -> Command
Converts to this type from the input type.
Source§impl From<IoCapabilityRequestReply> for Vec<u8>
impl From<IoCapabilityRequestReply> for Vec<u8>
Source§fn from(packet: IoCapabilityRequestReply) -> Self
fn from(packet: IoCapabilityRequestReply) -> Self
Converts to this type from the input type.
Source§impl From<IoCapabilityRequestReplyBuilder> for IoCapabilityRequestReply
impl From<IoCapabilityRequestReplyBuilder> for IoCapabilityRequestReply
Source§fn from(builder: IoCapabilityRequestReplyBuilder) -> IoCapabilityRequestReply
fn from(builder: IoCapabilityRequestReplyBuilder) -> IoCapabilityRequestReply
Converts to this type from the input type.
Source§impl Packet for IoCapabilityRequestReply
impl Packet for IoCapabilityRequestReply
Source§impl PartialEq for IoCapabilityRequestReply
impl PartialEq for IoCapabilityRequestReply
Source§impl TryFrom<Command> for IoCapabilityRequestReply
impl TryFrom<Command> for IoCapabilityRequestReply
impl Eq for IoCapabilityRequestReply
impl StructuralPartialEq for IoCapabilityRequestReply
Auto Trait Implementations§
impl !Freeze for IoCapabilityRequestReply
impl RefUnwindSafe for IoCapabilityRequestReply
impl Send for IoCapabilityRequestReply
impl Sync for IoCapabilityRequestReply
impl Unpin for IoCapabilityRequestReply
impl UnwindSafe for IoCapabilityRequestReply
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