Enum ibc::ics02_client::client_def::AnyClient [−][src]
Variants
Tendermint(TendermintClient)
Implementations
impl AnyClient
[src]
pub fn from_client_type(client_type: ClientType) -> AnyClient
[src]
Trait Implementations
impl ClientDef for AnyClient
[src]
type Header = AnyHeader
type ClientState = AnyClientState
type ConsensusState = AnyConsensusState
fn check_header_and_update_state(
&self,
client_state: AnyClientState,
header: AnyHeader
) -> Result<(AnyClientState, AnyConsensusState), Box<dyn Error>>
[src]
&self,
client_state: AnyClientState,
header: AnyHeader
) -> Result<(AnyClientState, AnyConsensusState), Box<dyn Error>>
Validates an incoming header
against the latest consensus state of this client.
fn verify_client_consensus_state(
&self,
client_state: &Self::ClientState,
height: Height,
prefix: &CommitmentPrefix,
proof: &CommitmentProofBytes,
client_id: &ClientId,
consensus_height: Height,
expected_consensus_state: &AnyConsensusState
) -> Result<(), Box<dyn Error>>
[src]
&self,
client_state: &Self::ClientState,
height: Height,
prefix: &CommitmentPrefix,
proof: &CommitmentProofBytes,
client_id: &ClientId,
consensus_height: Height,
expected_consensus_state: &AnyConsensusState
) -> Result<(), Box<dyn Error>>
fn verify_connection_state(
&self,
client_state: &AnyClientState,
height: Height,
prefix: &CommitmentPrefix,
proof: &CommitmentProofBytes,
connection_id: Option<&ConnectionId>,
expected_connection_end: &ConnectionEnd
) -> Result<(), Box<dyn Error>>
[src]
&self,
client_state: &AnyClientState,
height: Height,
prefix: &CommitmentPrefix,
proof: &CommitmentProofBytes,
connection_id: Option<&ConnectionId>,
expected_connection_end: &ConnectionEnd
) -> Result<(), Box<dyn Error>>
fn verify_channel_state(
&self,
client_state: &AnyClientState,
height: Height,
prefix: &CommitmentPrefix,
proof: &CommitmentProofBytes,
port_id: &PortId,
channel_id: &ChannelId,
expected_channel_end: &ChannelEnd
) -> Result<(), Box<dyn Error>>
[src]
&self,
client_state: &AnyClientState,
height: Height,
prefix: &CommitmentPrefix,
proof: &CommitmentProofBytes,
port_id: &PortId,
channel_id: &ChannelId,
expected_channel_end: &ChannelEnd
) -> Result<(), Box<dyn Error>>
fn verify_client_full_state(
&self,
client_state: &Self::ClientState,
height: Height,
root: &CommitmentRoot,
prefix: &CommitmentPrefix,
client_id: &ClientId,
proof: &CommitmentProofBytes,
client_state_on_counterparty: &AnyClientState
) -> Result<(), Box<dyn Error>>
[src]
&self,
client_state: &Self::ClientState,
height: Height,
root: &CommitmentRoot,
prefix: &CommitmentPrefix,
client_id: &ClientId,
proof: &CommitmentProofBytes,
client_state_on_counterparty: &AnyClientState
) -> Result<(), Box<dyn Error>>
fn verify_packet_data(
&self,
client_state: &Self::ClientState,
height: Height,
proof: &CommitmentProofBytes,
port_id: &PortId,
channel_id: &ChannelId,
seq: &Sequence,
commitment: String
) -> Result<(), Box<dyn Error>>
[src]
&self,
client_state: &Self::ClientState,
height: Height,
proof: &CommitmentProofBytes,
port_id: &PortId,
channel_id: &ChannelId,
seq: &Sequence,
commitment: String
) -> Result<(), Box<dyn Error>>
fn verify_packet_acknowledgement(
&self,
client_state: &Self::ClientState,
height: Height,
proof: &CommitmentProofBytes,
port_id: &PortId,
channel_id: &ChannelId,
seq: &Sequence,
ack: Vec<u8>
) -> Result<(), Box<dyn Error>>
[src]
&self,
client_state: &Self::ClientState,
height: Height,
proof: &CommitmentProofBytes,
port_id: &PortId,
channel_id: &ChannelId,
seq: &Sequence,
ack: Vec<u8>
) -> Result<(), Box<dyn Error>>
fn verify_next_sequence_recv(
&self,
client_state: &Self::ClientState,
height: Height,
proof: &CommitmentProofBytes,
port_id: &PortId,
channel_id: &ChannelId,
seq: &Sequence
) -> Result<(), Box<dyn Error>>
[src]
&self,
client_state: &Self::ClientState,
height: Height,
proof: &CommitmentProofBytes,
port_id: &PortId,
channel_id: &ChannelId,
seq: &Sequence
) -> Result<(), Box<dyn Error>>
fn verify_packet_receipt_absence(
&self,
client_state: &Self::ClientState,
height: Height,
proof: &CommitmentProofBytes,
port_id: &PortId,
channel_id: &ChannelId,
seq: &Sequence
) -> Result<(), Box<dyn Error>>
[src]
&self,
client_state: &Self::ClientState,
height: Height,
proof: &CommitmentProofBytes,
port_id: &PortId,
channel_id: &ChannelId,
seq: &Sequence
) -> Result<(), Box<dyn Error>>
impl Clone for AnyClient
[src]
impl Debug for AnyClient
[src]
impl Eq for AnyClient
[src]
impl PartialEq<AnyClient> for AnyClient
[src]
impl StructuralEq for AnyClient
[src]
impl StructuralPartialEq for AnyClient
[src]
Auto Trait Implementations
impl RefUnwindSafe for AnyClient
impl Send for AnyClient
impl Sync for AnyClient
impl Unpin for AnyClient
impl UnwindSafe for AnyClient
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
pub fn __clone_box(&self, Private) -> *mut ()
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoRequest<T> for T
[src]
pub fn into_request(self) -> Request<T>
[src]
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,