#[repr(u8)]pub enum BussAction {
Noop = 0,
Read = 1,
Write = 2,
Modify = 3,
Delete = 4,
}Expand description
This is an enum of values that tell the server what action to perform and the client what was the response code of the action performed. There are possible 256 different actions possible and response codes of between 0 and 255.
Variants§
Noop = 0
do nothing
Read = 1
Read request
Write = 2
Write request
Modify = 3
Modify request
Delete = 4
Delete request
Trait Implementations§
Source§impl Clone for BussAction
impl Clone for BussAction
Source§fn clone(&self) -> BussAction
fn clone(&self) -> BussAction
Returns a duplicate 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 TryFrom<u8> for BussAction
impl TryFrom<u8> for BussAction
impl Copy for BussAction
Auto Trait Implementations§
impl Freeze for BussAction
impl RefUnwindSafe for BussAction
impl Send for BussAction
impl Sync for BussAction
impl Unpin for BussAction
impl UnwindSafe for BussAction
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