pub enum TransportCallResponse {
Replied {
certificate: Vec<u8>,
},
NonReplicatedRejection(RejectResponse),
Accepted,
}
Expand description
The parsed response from a request to the v3 call
endpoint. A request to the call
endpoint.
Variants§
Replied
The IC responded with a certified response.
NonReplicatedRejection(RejectResponse)
The replica responded with a non replicated rejection.
Accepted
The replica timed out the sync request, but forwarded the ingress message to the canister. The request id should be used to poll for the response The status of the request must be polled.
Trait Implementations§
source§impl Debug for TransportCallResponse
impl Debug for TransportCallResponse
source§impl<'de> Deserialize<'de> for TransportCallResponse
impl<'de> Deserialize<'de> for TransportCallResponse
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TransportCallResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TransportCallResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for TransportCallResponse
impl Serialize for TransportCallResponse
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for TransportCallResponse
impl RefUnwindSafe for TransportCallResponse
impl Send for TransportCallResponse
impl Sync for TransportCallResponse
impl Unpin for TransportCallResponse
impl UnwindSafe for TransportCallResponse
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