pub struct ConnHandle(/* private fields */);
Expand description
ConnHandle
Implementations§
Source§impl ConnHandle
impl ConnHandle
Sourcepub fn into_inner(self) -> u16
pub fn into_inner(self) -> u16
Get inner representation
Trait Implementations§
Source§impl Clone for ConnHandle
impl Clone for ConnHandle
Source§fn clone(&self) -> ConnHandle
fn clone(&self) -> ConnHandle
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 ConnHandle
impl Debug for ConnHandle
Source§impl Default for ConnHandle
impl Default for ConnHandle
Source§fn default() -> ConnHandle
fn default() -> ConnHandle
Returns the “default value” for a type. Read more
Source§impl FixedSizeValue for ConnHandle
impl FixedSizeValue for ConnHandle
Source§impl From<ConnHandle> for AuthenticationRequested
impl From<ConnHandle> for AuthenticationRequested
Source§fn from(params: ConnHandle) -> Self
fn from(params: ConnHandle) -> Self
Converts to this type from the input type.
Source§impl From<ConnHandle> for ChangeConnectionLinkKey
impl From<ConnHandle> for ChangeConnectionLinkKey
Source§fn from(params: ConnHandle) -> Self
fn from(params: ConnHandle) -> Self
Converts to this type from the input type.
Source§impl From<ConnHandle> for LeLongTermKeyRequestNegativeReply
impl From<ConnHandle> for LeLongTermKeyRequestNegativeReply
Source§fn from(params: ConnHandle) -> Self
fn from(params: ConnHandle) -> Self
Converts to this type from the input type.
Source§impl From<ConnHandle> for LeReadChannelMap
impl From<ConnHandle> for LeReadChannelMap
Source§fn from(params: ConnHandle) -> Self
fn from(params: ConnHandle) -> Self
Converts to this type from the input type.
Source§impl From<ConnHandle> for LeReadPhy
impl From<ConnHandle> for LeReadPhy
Source§fn from(params: ConnHandle) -> Self
fn from(params: ConnHandle) -> Self
Converts to this type from the input type.
Source§impl From<ConnHandle> for LeReadRemoteFeatures
impl From<ConnHandle> for LeReadRemoteFeatures
Source§fn from(params: ConnHandle) -> Self
fn from(params: ConnHandle) -> Self
Converts to this type from the input type.
Source§impl From<ConnHandle> for LeRequestPeerSca
impl From<ConnHandle> for LeRequestPeerSca
Source§fn from(params: ConnHandle) -> Self
fn from(params: ConnHandle) -> Self
Converts to this type from the input type.
Source§impl From<ConnHandle> for ReadAuthenticatedPayloadTimeout
impl From<ConnHandle> for ReadAuthenticatedPayloadTimeout
Source§fn from(params: ConnHandle) -> Self
fn from(params: ConnHandle) -> Self
Converts to this type from the input type.
Source§impl From<ConnHandle> for ReadClockOffset
impl From<ConnHandle> for ReadClockOffset
Source§fn from(params: ConnHandle) -> Self
fn from(params: ConnHandle) -> Self
Converts to this type from the input type.
Source§impl From<ConnHandle> for ReadLmpHandle
impl From<ConnHandle> for ReadLmpHandle
Source§fn from(params: ConnHandle) -> Self
fn from(params: ConnHandle) -> Self
Converts to this type from the input type.
Source§impl From<ConnHandle> for ReadRemoteSupportedFeatures
impl From<ConnHandle> for ReadRemoteSupportedFeatures
Source§fn from(params: ConnHandle) -> Self
fn from(params: ConnHandle) -> Self
Converts to this type from the input type.
Source§impl From<ConnHandle> for ReadRemoteVersionInformation
impl From<ConnHandle> for ReadRemoteVersionInformation
Source§fn from(params: ConnHandle) -> Self
fn from(params: ConnHandle) -> Self
Converts to this type from the input type.
Source§impl From<ConnHandle> for ReadRssi
impl From<ConnHandle> for ReadRssi
Source§fn from(params: ConnHandle) -> Self
fn from(params: ConnHandle) -> Self
Converts to this type from the input type.
Source§impl Hash for ConnHandle
impl Hash for ConnHandle
Source§impl Ord for ConnHandle
impl Ord for ConnHandle
Source§fn cmp(&self, other: &ConnHandle) -> Ordering
fn cmp(&self, other: &ConnHandle) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ConnHandle
impl PartialEq for ConnHandle
Source§impl PartialOrd for ConnHandle
impl PartialOrd for ConnHandle
impl Copy for ConnHandle
impl Eq for ConnHandle
impl StructuralPartialEq for ConnHandle
Auto Trait Implementations§
impl Freeze for ConnHandle
impl RefUnwindSafe for ConnHandle
impl Send for ConnHandle
impl Sync for ConnHandle
impl Unpin for ConnHandle
impl UnwindSafe for ConnHandle
Blanket Implementations§
Source§impl<T> AsHciBytes for Twhere
T: FixedSizeValue,
impl<T> AsHciBytes for Twhere
T: FixedSizeValue,
Source§fn as_hci_bytes(&self) -> &[u8]
fn as_hci_bytes(&self) -> &[u8]
Get the byte representation of this type.
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<'de, T> FromHciBytes<'de> for Twhere
T: FixedSizeValue,
impl<'de, T> FromHciBytes<'de> for Twhere
T: FixedSizeValue,
Source§fn from_hci_bytes(data: &'de [u8]) -> Result<(T, &'de [u8]), FromHciBytesError>
fn from_hci_bytes(data: &'de [u8]) -> Result<(T, &'de [u8]), FromHciBytesError>
Deserialize bytes into a HCI type, return additional bytes.
Source§fn from_hci_bytes_complete(data: &'de [u8]) -> Result<Self, FromHciBytesError>
fn from_hci_bytes_complete(data: &'de [u8]) -> Result<Self, FromHciBytesError>
Deserialize bytes into a HCI type, must consume all bytes.
Source§impl<'de, T> ReadHci<'de> for Twhere
T: FixedSizeValue,
impl<'de, T> ReadHci<'de> for Twhere
T: FixedSizeValue,
Source§const MAX_LEN: usize = const MAX_LEN: usize = core::mem::size_of::<Self>();
const MAX_LEN: usize = const MAX_LEN: usize = core::mem::size_of::<Self>();
Max length read by this type.
Source§fn read_hci<R>(
reader: R,
buf: &'de mut [u8],
) -> Result<T, ReadHciError<<R as ErrorType>::Error>>where
R: Read,
fn read_hci<R>(
reader: R,
buf: &'de mut [u8],
) -> Result<T, ReadHciError<<R as ErrorType>::Error>>where
R: Read,
Read this type from the provided reader.
Source§async fn read_hci_async<R>(
reader: R,
buf: &'de mut [u8],
) -> Result<T, ReadHciError<<R as ErrorType>::Error>>where
R: Read,
async fn read_hci_async<R>(
reader: R,
buf: &'de mut [u8],
) -> Result<T, ReadHciError<<R as ErrorType>::Error>>where
R: Read,
Read this type from the provided reader, async version.