pub struct SyncHandle(/* private fields */);
Expand description
SyncHandle
Implementations§
Source§impl SyncHandle
impl SyncHandle
Sourcepub fn into_inner(self) -> u16
pub fn into_inner(self) -> u16
Get inner representation
Trait Implementations§
Source§impl Clone for SyncHandle
impl Clone for SyncHandle
Source§fn clone(&self) -> SyncHandle
fn clone(&self) -> SyncHandle
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 SyncHandle
impl Debug for SyncHandle
Source§impl Default for SyncHandle
impl Default for SyncHandle
Source§fn default() -> SyncHandle
fn default() -> SyncHandle
Returns the “default value” for a type. Read more
Source§impl FixedSizeValue for SyncHandle
impl FixedSizeValue for SyncHandle
Source§impl From<SyncHandle> for LePeriodicAdvTerminateSync
impl From<SyncHandle> for LePeriodicAdvTerminateSync
Source§fn from(params: SyncHandle) -> Self
fn from(params: SyncHandle) -> Self
Converts to this type from the input type.
Source§impl Hash for SyncHandle
impl Hash for SyncHandle
Source§impl Ord for SyncHandle
impl Ord for SyncHandle
Source§fn cmp(&self, other: &SyncHandle) -> Ordering
fn cmp(&self, other: &SyncHandle) -> 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 SyncHandle
impl PartialEq for SyncHandle
Source§impl PartialOrd for SyncHandle
impl PartialOrd for SyncHandle
impl Copy for SyncHandle
impl Eq for SyncHandle
impl StructuralPartialEq for SyncHandle
Auto Trait Implementations§
impl Freeze for SyncHandle
impl RefUnwindSafe for SyncHandle
impl Send for SyncHandle
impl Sync for SyncHandle
impl Unpin for SyncHandle
impl UnwindSafe for SyncHandle
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.