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