Struct ibc::ics03_connection::msgs::conn_open_ack::MsgConnectionOpenAck [−][src]
Message definition MsgConnectionOpenAck
(i.e., ConnOpenAck
datagram).
Fields
connection_id: ConnectionId
counterparty_connection_id: ConnectionId
client_state: Option<AnyClientState>
proofs: Proofs
version: Version
signer: Signer
Implementations
impl MsgConnectionOpenAck
[src]
pub fn connection_id(&self) -> &ConnectionId
[src]
Getter for accessing the connection identifier of this message.
pub fn counterparty_connection_id(&self) -> &ConnectionId
[src]
Getter for accessing the counterparty’s connection identifier from this message.
pub fn client_state(&self) -> Option<AnyClientState>
[src]
Getter for accessing the client state.
pub fn proofs(&self) -> &Proofs
[src]
Getter for accessing (borrow) the proofs in this message.
pub fn version(&self) -> &Version
[src]
Getter for the version field.
pub fn consensus_height(&self) -> Height
[src]
Getter for accessing the consensus_height
field from this message. Returns the special
value Height(0)
if this field is not set.
Trait Implementations
impl Clone for MsgConnectionOpenAck
[src]
fn clone(&self) -> MsgConnectionOpenAck
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MsgConnectionOpenAck
[src]
impl Eq for MsgConnectionOpenAck
[src]
impl Msg for MsgConnectionOpenAck
[src]
type ValidationError = Error
type Raw = RawMsgConnectionOpenAck
fn route(&self) -> String
[src]
fn type_url(&self) -> String
[src]
fn to_any(self) -> Any
[src]
fn get_sign_bytes(self) -> Vec<u8>
[src]
fn validate_basic(&self) -> Result<(), ValidationError>
[src]
impl PartialEq<MsgConnectionOpenAck> for MsgConnectionOpenAck
[src]
fn eq(&self, other: &MsgConnectionOpenAck) -> bool
[src]
fn ne(&self, other: &MsgConnectionOpenAck) -> bool
[src]
impl Protobuf<MsgConnectionOpenAck> for MsgConnectionOpenAck
[src]
pub fn encode<B>(&self, buf: &mut B) -> Result<(), Error<Kind>> where
B: BufMut,
[src]
B: BufMut,
pub fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), Error<Kind>> where
B: BufMut,
[src]
B: BufMut,
pub fn decode<B>(buf: B) -> Result<Self, Error<Kind>> where
B: Buf,
[src]
B: Buf,
pub fn decode_length_delimited<B>(buf: B) -> Result<Self, Error<Kind>> where
B: Buf,
[src]
B: Buf,
pub fn encoded_len(&self) -> usize
[src]
pub fn encode_vec(&self) -> Result<Vec<u8, Global>, Error<Kind>>
[src]
pub fn decode_vec(v: &[u8]) -> Result<Self, Error<Kind>>
[src]
pub fn encode_length_delimited_vec(
&self
) -> Result<Vec<u8, Global>, Error<Kind>>
[src]
&self
) -> Result<Vec<u8, Global>, Error<Kind>>
pub fn decode_length_delimited_vec(v: &[u8]) -> Result<Self, Error<Kind>>
[src]
impl StructuralEq for MsgConnectionOpenAck
[src]
impl StructuralPartialEq for MsgConnectionOpenAck
[src]
impl TryFrom<MsgConnectionOpenAck> for MsgConnectionOpenAck
[src]
Auto Trait Implementations
impl RefUnwindSafe for MsgConnectionOpenAck
impl Send for MsgConnectionOpenAck
impl Sync for MsgConnectionOpenAck
impl Unpin for MsgConnectionOpenAck
impl UnwindSafe for MsgConnectionOpenAck
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>,