#[non_exhaustive]#[repr(u8)]pub enum AhbInternalBurst {
Disabled = 0,
Enabled = 2,
}Available on crate feature
unstable only.Expand description
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Disabled = 0
Single transfers.
Enabled = 2
Burst transfers. A receive buffer needs 4-byte alignment to use them.
Trait Implementations§
Source§impl Clone for AhbInternalBurst
impl Clone for AhbInternalBurst
impl Copy for AhbInternalBurst
Source§impl Debug for AhbInternalBurst
impl Debug for AhbInternalBurst
Source§impl Default for AhbInternalBurst
impl Default for AhbInternalBurst
impl Eq for AhbInternalBurst
Source§impl From<AhbInternalBurst> for BurstSize
impl From<AhbInternalBurst> for BurstSize
Source§fn from(burst: AhbInternalBurst) -> Self
fn from(burst: AhbInternalBurst) -> Self
Converts to this type from the input type.
Source§impl Hash for AhbInternalBurst
impl Hash for AhbInternalBurst
Source§impl Ord for AhbInternalBurst
impl Ord for AhbInternalBurst
1.21.0 (const: unstable)§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable)§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AhbInternalBurst
impl PartialEq for AhbInternalBurst
Source§impl PartialOrd for AhbInternalBurst
impl PartialOrd for AhbInternalBurst
impl StructuralPartialEq for AhbInternalBurst
Auto Trait Implementations§
impl Forget for AhbInternalBurst
impl Freeze for AhbInternalBurst
impl Move for AhbInternalBurst
impl RefUnwindSafe for AhbInternalBurst
impl Send for AhbInternalBurst
impl Sync for AhbInternalBurst
impl Unpin for AhbInternalBurst
impl UnsafeUnpin for AhbInternalBurst
impl UnwindSafe for AhbInternalBurst
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§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)