Enum holochain_zome_types::zome_io::ZomeCallResponse [−][src]
pub enum ZomeCallResponse {
Ok(ExternIO),
Unauthorized(CellId, ZomeName, FunctionName, AgentPubKey),
NetworkError(String),
CountersigningSession(String),
}
Expand description
Response to a zome call.
Variants
Ok(ExternIO)
Arbitrary response from zome fns to the outside world. Something like a 200 http response.
Tuple Fields of Ok
0: ExternIO
Cap grant failure. Something like a 401 http response.
Tuple Fields of Unauthorized
NetworkError(String)
This was a zome call made remotely but something has failed on the network
Tuple Fields of NetworkError
0: String
CountersigningSession(String)
A countersigning session has failed to start.
Tuple Fields of CountersigningSession
0: String
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Performs the conversion.
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Performs the conversion.
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ZomeCallResponse
impl Send for ZomeCallResponse
impl Sync for ZomeCallResponse
impl Unpin for ZomeCallResponse
impl UnwindSafe for ZomeCallResponse
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more