[][src]Enum holochain_core::action::Action

pub enum Action {
    Commit(Entry),
    GetEntry(Address),
    AddLink(Link),
    ExecuteZomeFunction(ZomeFnCall),
    ReturnZomeFunctionResult(ExecuteZomeFnResponse),
    InitApplication(Dna),
    ReturnInitializationResult(Option<String>),
    Call(ZomeFnCall),
    ReturnValidationResult(((ProcessUniqueId, Address), ValidationResult)),
    ReturnValidationPackage((ProcessUniqueId, Result<ValidationPackage, HolochainError>)),
}

All Actions for the Holochain Instance Store, according to Redux pattern.

Variants

entry to Commit MUST already have passed all callback checks

GetEntry by address

link to add

get links from entry address and attribute-name execute a function in a zome WASM

return the result of a zome WASM function call

initialize an application from a Dna not the same as genesis may call genesis internally

return the result of an InitApplication action the result is Some arbitrary string

Execute a zome function call called by another zome function

A validation result that should be stored Key is an unique id of the calling context and the hash of the entry that was validated

Trait Implementations

impl Clone for Action
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq<Action> for Action
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Action
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Action

impl Sync for Action

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

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

Performs the conversion.

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

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Immutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

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

Mutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Same for T
[src]

Should always be Self

impl<T> ActorArgs for T where
    T: Send + Sync + Clone
[src]