#[repr(transparent)]pub struct NakPoll(pub u32);
Expand description
Used by the host controller. Sets the wait time in microseconds before trying again if the device replies with a NAK.
Tuple Fields§
§0: u32
Implementations§
source§impl NakPoll
impl NakPoll
sourcepub fn set_delay_ls(&mut self, val: u16)
pub fn set_delay_ls(&mut self, val: u16)
NAK polling interval for a low speed device
sourcepub fn set_delay_fs(&mut self, val: u16)
pub fn set_delay_fs(&mut self, val: u16)
NAK polling interval for a full speed device
Trait Implementations§
impl Copy for NakPoll
impl Eq for NakPoll
impl StructuralPartialEq for NakPoll
Auto Trait Implementations§
impl Freeze for NakPoll
impl RefUnwindSafe for NakPoll
impl Send for NakPoll
impl Sync for NakPoll
impl Unpin for NakPoll
impl UnwindSafe for NakPoll
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)