pub struct TxMetaDataHolder<const LEN: usize> { /* private fields */ }Expand description
Holds a fixed-size array of transmitter metadata instances.
Implementations§
Source§impl<const LEN: usize> TxMetaDataHolder<LEN>
impl<const LEN: usize> TxMetaDataHolder<LEN>
Sourcepub fn new(array: [TxMetaData; LEN]) -> Self
pub fn new(array: [TxMetaData; LEN]) -> Self
Creates a new holder with the specified array of transmitter metadata.
Sourcepub fn meta_data(self) -> [TxMetaData; LEN]
pub fn meta_data(self) -> [TxMetaData; LEN]
Returns the array of transmitter metadata.
Auto Trait Implementations§
impl<const LEN: usize> Freeze for TxMetaDataHolder<LEN>
impl<const LEN: usize> RefUnwindSafe for TxMetaDataHolder<LEN>
impl<const LEN: usize> Send for TxMetaDataHolder<LEN>
impl<const LEN: usize> Sync for TxMetaDataHolder<LEN>
impl<const LEN: usize> Unpin for TxMetaDataHolder<LEN>
impl<const LEN: usize> UnwindSafe for TxMetaDataHolder<LEN>
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