[][src]Enum holochain_conductor_api::AppRequest

pub enum AppRequest {
    AppInfo {
        installed_app_id: InstalledAppId,
    },
    Crypto(Box<CryptoRequest>),
    ZomeCall(Box<ZomeCall>),
    ZomeCallInvocation(Box<ZomeCall>),
    SignalSubscription(SignalSubscription),
}

Represents the available Conductor functions to call over an App interface

Variants

AppInfo

Get info about the App identified by the given installed_app_id argument, including info about each Cell installed by this App. Requires installed_app_id because an App interface can be the interface to multiple apps at the same time.

Will be responded to with an AppResponse::AppInfo or an AppResponse::Error

Fields of AppInfo

installed_app_id: InstalledAppId

The InstalledAppId for which to get information

Crypto(Box<CryptoRequest>)

Asks the conductor to do some crypto.

Is currently unimplemented and will return an AppResponse::Unimplemented

ZomeCall(Box<ZomeCall>)

Call a zome function. See the inner ZomeCall struct to understand the data that must be provided.

Will be responded to with an AppResponse::ZomeCall or an AppResponse::Error

ZomeCallInvocation(Box<ZomeCall>)

DEPRECATED. Use ZomeCall.

SignalSubscription(SignalSubscription)

Update signal subscriptions.

Is currently unimplemented and will return an AppResponse::Unimplemented

Trait Implementations

impl Clone for AppRequest[src]

impl Debug for AppRequest[src]

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

impl Serialize for AppRequest[src]

impl<'_> TryFrom<&'_ AppRequest> for SerializedBytes[src]

type Error = SerializedBytesError

The type returned in the event of a conversion error.

impl TryFrom<AppRequest> for SerializedBytes[src]

type Error = SerializedBytesError

The type returned in the event of a conversion error.

impl TryFrom<SerializedBytes> for AppRequest[src]

type Error = SerializedBytesError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for AppRequest

impl Send for AppRequest

impl Sync for AppRequest

impl Unpin for AppRequest

impl UnwindSafe for AppRequest

Blanket Implementations

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

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

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

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

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

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

impl<T> FutureExt for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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

type Output = T

Should always be Self

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]