#[repr(transparent)]pub struct KeepAliveWkctrl(pub u8);Expand description
Keep Alive Mode Wakeup Control
Tuple Fields§
§0: u8Implementations§
Source§impl KeepAliveWkctrl
impl KeepAliveWkctrl
Sourcepub const fn wake_on_this(&self) -> WakeOnThis
pub const fn wake_on_this(&self) -> WakeOnThis
Token PID for the wakeup request
Sourcepub const fn set_wake_on_this(&mut self, val: WakeOnThis)
pub const fn set_wake_on_this(&mut self, val: WakeOnThis)
Token PID for the wakeup request
Sourcepub const fn wake_endpt(&self) -> u8
pub const fn wake_endpt(&self) -> u8
Endpoint address for the wakeup request
Sourcepub const fn set_wake_endpt(&mut self, val: u8)
pub const fn set_wake_endpt(&mut self, val: u8)
Endpoint address for the wakeup request
Trait Implementations§
Source§impl Clone for KeepAliveWkctrl
impl Clone for KeepAliveWkctrl
Source§fn clone(&self) -> KeepAliveWkctrl
fn clone(&self) -> KeepAliveWkctrl
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 KeepAliveWkctrl
impl Debug for KeepAliveWkctrl
Source§impl Default for KeepAliveWkctrl
impl Default for KeepAliveWkctrl
Source§fn default() -> KeepAliveWkctrl
fn default() -> KeepAliveWkctrl
Returns the “default value” for a type. Read more
Source§impl PartialEq for KeepAliveWkctrl
impl PartialEq for KeepAliveWkctrl
impl Copy for KeepAliveWkctrl
impl Eq for KeepAliveWkctrl
impl StructuralPartialEq for KeepAliveWkctrl
Auto Trait Implementations§
impl Freeze for KeepAliveWkctrl
impl RefUnwindSafe for KeepAliveWkctrl
impl Send for KeepAliveWkctrl
impl Sync for KeepAliveWkctrl
impl Unpin for KeepAliveWkctrl
impl UnwindSafe for KeepAliveWkctrl
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