Struct MuxId
pub struct MuxId(u8);Expand description
Mux ID of a data port, from 1 to 4.
rmnet_dataN uses the mux ID N + 1.
Tuple Fields§
§0: u8Implementations§
§impl MuxId
impl MuxId
pub const fn rmnet_index(self) -> RmnetIndex
pub const fn rmnet_index(self) -> RmnetIndex
Returns the device that belongs to this mux ID.
Trait Implementations§
impl Copy for MuxId
impl Eq for MuxId
impl StructuralPartialEq for MuxId
Auto Trait Implementations§
impl Freeze for MuxId
impl RefUnwindSafe for MuxId
impl Send for MuxId
impl Sync for MuxId
impl Unpin for MuxId
impl UnsafeUnpin for MuxId
impl UnwindSafe for MuxId
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