Struct Terminateonbuserror
#[repr(transparent)]pub struct Terminateonbuserror(pub u32);
Expand description
Terminate the transaction if a BUSERROR event is detected.
Tuple Fields§
§0: u32
Implementations§
§impl Terminateonbuserror
impl Terminateonbuserror
pub const fn enable(&self) -> bool
pub fn set_enable(&mut self, val: bool)
Trait Implementations§
§impl Clone for Terminateonbuserror
impl Clone for Terminateonbuserror
§fn clone(&self) -> Terminateonbuserror
fn clone(&self) -> Terminateonbuserror
Returns a copy 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 more§impl Default for Terminateonbuserror
impl Default for Terminateonbuserror
§fn default() -> Terminateonbuserror
fn default() -> Terminateonbuserror
Returns the “default value” for a type. Read more
§impl PartialEq for Terminateonbuserror
impl PartialEq for Terminateonbuserror
impl Copy for Terminateonbuserror
impl Eq for Terminateonbuserror
impl StructuralPartialEq for Terminateonbuserror
Auto Trait Implementations§
impl Freeze for Terminateonbuserror
impl RefUnwindSafe for Terminateonbuserror
impl Send for Terminateonbuserror
impl Sync for Terminateonbuserror
impl Unpin for Terminateonbuserror
impl UnwindSafe for Terminateonbuserror
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
)