Struct ibc_proto::ibc::core::connection::v1::IdentifiedConnection
source · [−]pub struct IdentifiedConnection {
pub id: String,
pub client_id: String,
pub versions: Vec<Version>,
pub state: i32,
pub counterparty: Option<Counterparty>,
pub delay_period: u64,
}
Expand description
IdentifiedConnection defines a connection with additional connection identifier field.
Fields
id: String
connection identifier.
client_id: String
client associated with this connection.
versions: Vec<Version>
IBC version which can be utilised to determine encodings or protocols for channels or packets utilising this connection
state: i32
current state of the connection end.
counterparty: Option<Counterparty>
counterparty chain associated with this connection.
delay_period: u64
delay period associated with this connection.
Implementations
Trait Implementations
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IdentifiedConnection
impl Send for IdentifiedConnection
impl Sync for IdentifiedConnection
impl Unpin for IdentifiedConnection
impl UnwindSafe for IdentifiedConnection
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
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