Struct ibc::proofs::Proofs [−][src]
pub struct Proofs { /* fields omitted */ }
Expand description
Structure comprising proofs in a message. Proofs are typically present in messages for handshake protocols, e.g., ICS3 connection (open) handshake or ICS4 channel (open and close) handshake, as well as for ICS4 packets, timeouts, and acknowledgements.
Implementations
pub fn new(
object_proof: CommitmentProofBytes,
client_proof: Option<CommitmentProofBytes>,
consensus_proof: Option<ConsensusProof>,
other_proof: Option<CommitmentProofBytes>,
height: Height
) -> Result<Self, ProofError>
Getter for the consensus_proof field of this proof. Intuitively, this is a proof that a client on the source chain stores a consensus state for the destination chain.
Getter for the height field of this proof (i.e., the consensus height where this proof was created).
Getter for the object-specific proof (e.g., proof for connection state or channel state).
Getter for the client_proof.
Getter for the other_proof.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Proofs
impl UnwindSafe for Proofs
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Wrap the input message T
in a tonic::Request
type Output = T
type Output = T
Should always be Self
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