#[repr(u8)]pub enum SPFunction {
CloseSess = 1,
Command = 2,
GetStatus = 3,
OpenSess = 4,
Tickle = 5,
Write = 6,
WriteContinue = 7,
Attention = 8,
}Variants§
CloseSess = 1
Command = 2
GetStatus = 3
OpenSess = 4
Tickle = 5
Write = 6
WriteContinue = 7
Attention = 8
Trait Implementations§
Source§impl Clone for SPFunction
impl Clone for SPFunction
Source§fn clone(&self) -> SPFunction
fn clone(&self) -> SPFunction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SPFunction
impl Debug for SPFunction
Source§impl PartialEq for SPFunction
impl PartialEq for SPFunction
Source§fn eq(&self, other: &SPFunction) -> bool
fn eq(&self, other: &SPFunction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<u8> for SPFunction
impl TryFrom<u8> for SPFunction
impl Copy for SPFunction
impl Eq for SPFunction
impl StructuralPartialEq for SPFunction
Auto Trait Implementations§
impl Freeze for SPFunction
impl RefUnwindSafe for SPFunction
impl Send for SPFunction
impl Sync for SPFunction
impl Unpin for SPFunction
impl UnsafeUnpin for SPFunction
impl UnwindSafe for SPFunction
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