pub struct TransferId(/* private fields */);Implementations§
Source§impl TransferId
impl TransferId
pub const MAX: TransferId
Sourcepub const SESSION_START: TransferId
pub const SESSION_START: TransferId
TransferId of the first transfer in the session, see [1; 4.1.1.7]
pub const fn new(value: u8) -> Option<Self>
pub const fn from_u8_truncating(value: u8) -> Self
pub const fn into_u8(self) -> u8
pub fn next(self) -> Self
Trait Implementations§
Source§impl Clone for TransferId
impl Clone for TransferId
Source§fn clone(&self) -> TransferId
fn clone(&self) -> TransferId
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransferId
impl Debug for TransferId
Source§impl Default for TransferId
impl Default for TransferId
Source§impl From<TransferId> for u8
impl From<TransferId> for u8
Source§fn from(value: TransferId) -> Self
fn from(value: TransferId) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TransferId
impl PartialEq for TransferId
Source§impl TryFrom<u8> for TransferId
impl TryFrom<u8> for TransferId
impl Copy for TransferId
impl Eq for TransferId
impl StructuralPartialEq for TransferId
Auto Trait Implementations§
impl Freeze for TransferId
impl RefUnwindSafe for TransferId
impl Send for TransferId
impl Sync for TransferId
impl Unpin for TransferId
impl UnwindSafe for TransferId
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)