Enum embedded_hal_mock::eh1::pin::TransactionKind
source · pub enum TransactionKind {
Set(State),
Get(State),
}
Available on crate feature
eh1
only.Expand description
MockPin transaction kind.
Variants§
Trait Implementations§
source§impl Clone for TransactionKind
impl Clone for TransactionKind
source§fn clone(&self) -> TransactionKind
fn clone(&self) -> TransactionKind
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 moresource§impl Debug for TransactionKind
impl Debug for TransactionKind
source§impl PartialEq for TransactionKind
impl PartialEq for TransactionKind
source§fn eq(&self, other: &TransactionKind) -> bool
fn eq(&self, other: &TransactionKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TransactionKind
impl StructuralEq for TransactionKind
impl StructuralPartialEq for TransactionKind
Auto Trait Implementations§
impl RefUnwindSafe for TransactionKind
impl Send for TransactionKind
impl Sync for TransactionKind
impl Unpin for TransactionKind
impl UnwindSafe for TransactionKind
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