[][src]Enum mycelium_lib::prelude::Action

pub enum Action {
    Default,
    Archive([u8; 16]),
    Insert(Vec<u8>),
    Select,
    Update(([u8; 16], Vec<u8>)),
}

Action enum values like Insert, Update, Archive, Select

  • Default: No Action or Error result
  • Archive: Archive node of given Id will require with_tag
  • Insert: Insert new node with byte array content will require with_tag
  • Select: Select command will require with_tag and a with_what target
  • Update: Update command id of node and new byte content for node will require with_tag

Variants

Default
Archive([u8; 16])
Insert(Vec<u8>)
Select
Update(([u8; 16], Vec<u8>))

Trait Implementations

impl Clone for Action[src]

impl Debug for Action[src]

impl Serialize for Action[src]

impl<'de> Deserialize<'de> for Action[src]

impl PartialEq<Action> for Action[src]

Auto Trait Implementations

impl Send for Action

impl Sync for Action

impl Unpin for Action

impl UnwindSafe for Action

impl RefUnwindSafe for Action

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]