pub struct SuccessSinglePacketFlow<Chain: CwEnv, CustomResult = Empty> {
pub send_tx: Option<TxId<Chain>>,
pub result: IbcPacketResult<TxId<Chain, CustomResult>, CustomResult>,
}Expand description
Success Packet Flow. This is the result of a packet analysis.
This allows identifying the different transactions involved.
Fields§
§send_tx: Option<TxId<Chain>>The transaction during which the packet was sent
Can optionally be specified, depending on the environment on which the implementation is done
This is not available for the [Mock] implementation for instance
result: IbcPacketResult<TxId<Chain, CustomResult>, CustomResult>Result of the successful packet flow
Trait Implementations§
Source§impl<Chain: Clone + CwEnv, CustomResult: Clone> Clone for SuccessSinglePacketFlow<Chain, CustomResult>
impl<Chain: Clone + CwEnv, CustomResult: Clone> Clone for SuccessSinglePacketFlow<Chain, CustomResult>
Source§fn clone(&self) -> SuccessSinglePacketFlow<Chain, CustomResult>
fn clone(&self) -> SuccessSinglePacketFlow<Chain, CustomResult>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<Chain: CwEnv, CustomResult> IndexResponse for SuccessSinglePacketFlow<Chain, CustomResult>
impl<Chain: CwEnv, CustomResult> IndexResponse for SuccessSinglePacketFlow<Chain, CustomResult>
Source§fn event_attr_value(
&self,
event_type: &str,
attr_key: &str,
) -> StdResult<String>
fn event_attr_value( &self, event_type: &str, attr_key: &str, ) -> StdResult<String>
Search for an event with given attribute key.
Source§fn event_attr_values(&self, event_type: &str, attr_key: &str) -> Vec<String>
fn event_attr_values(&self, event_type: &str, attr_key: &str) -> Vec<String>
Search for all events with a given attribute key.
Auto Trait Implementations§
impl<Chain, CustomResult> Freeze for SuccessSinglePacketFlow<Chain, CustomResult>
impl<Chain, CustomResult> RefUnwindSafe for SuccessSinglePacketFlow<Chain, CustomResult>
impl<Chain, CustomResult> Send for SuccessSinglePacketFlow<Chain, CustomResult>where
CustomResult: Send,
impl<Chain, CustomResult> Sync for SuccessSinglePacketFlow<Chain, CustomResult>
impl<Chain, CustomResult> Unpin for SuccessSinglePacketFlow<Chain, CustomResult>
impl<Chain, CustomResult> UnwindSafe for SuccessSinglePacketFlow<Chain, CustomResult>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request