pub struct MsgTimeoutOnClose {
pub packet: Packet,
pub next_seq_recv_on_b: Sequence,
pub proof_unreceived_on_b: CommitmentProofBytes,
pub proof_close_on_b: CommitmentProofBytes,
pub proof_height_on_b: Height,
pub signer: Signer,
}
Expand description
Message definition for packet timeout domain type.
Fields§
§packet: Packet
§next_seq_recv_on_b: Sequence
§proof_unreceived_on_b: CommitmentProofBytes
§proof_close_on_b: CommitmentProofBytes
§proof_height_on_b: Height
§signer: Signer
Trait Implementations§
source§impl BorshDeserialize for MsgTimeoutOnClose
impl BorshDeserialize for MsgTimeoutOnClose
fn deserialize_reader<R>(reader: &mut R) -> Result<MsgTimeoutOnClose, Error>where
R: Read,
source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
source§impl BorshSerialize for MsgTimeoutOnClose
impl BorshSerialize for MsgTimeoutOnClose
source§impl Clone for MsgTimeoutOnClose
impl Clone for MsgTimeoutOnClose
source§fn clone(&self) -> MsgTimeoutOnClose
fn clone(&self) -> MsgTimeoutOnClose
Returns a copy 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 Debug for MsgTimeoutOnClose
impl Debug for MsgTimeoutOnClose
source§impl From<MsgTimeoutOnClose> for MsgTimeoutOnClose
impl From<MsgTimeoutOnClose> for MsgTimeoutOnClose
source§fn from(domain_msg: MsgTimeoutOnClose) -> MsgTimeoutOnClose
fn from(domain_msg: MsgTimeoutOnClose) -> MsgTimeoutOnClose
Converts to this type from the input type.
source§impl From<MsgTimeoutOnClose> for PacketMsg
impl From<MsgTimeoutOnClose> for PacketMsg
source§fn from(original: MsgTimeoutOnClose) -> PacketMsg
fn from(original: MsgTimeoutOnClose) -> PacketMsg
Converts to this type from the input type.
source§impl JsonSchema for MsgTimeoutOnClose
impl JsonSchema for MsgTimeoutOnClose
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq for MsgTimeoutOnClose
impl PartialEq for MsgTimeoutOnClose
source§fn eq(&self, other: &MsgTimeoutOnClose) -> bool
fn eq(&self, other: &MsgTimeoutOnClose) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Protobuf<MsgTimeoutOnClose> for MsgTimeoutOnClose
impl Protobuf<MsgTimeoutOnClose> for MsgTimeoutOnClose
source§fn encode<B>(self, buf: &mut B) -> Result<(), Error>where
B: BufMut,
fn encode<B>(self, buf: &mut B) -> Result<(), Error>where
B: BufMut,
Encode into a buffer in Protobuf format. Read more
source§fn encode_length_delimited<B>(self, buf: &mut B) -> Result<(), Error>where
B: BufMut,
fn encode_length_delimited<B>(self, buf: &mut B) -> Result<(), Error>where
B: BufMut,
Encode with a length-delimiter to a buffer in Protobuf format. Read more
source§fn decode<B>(buf: B) -> Result<Self, Error>where
B: Buf,
fn decode<B>(buf: B) -> Result<Self, Error>where
B: Buf,
Constructor that attempts to decode an instance from a buffer. Read more
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, Error>where
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, Error>where
B: Buf,
Constructor that attempts to decode a length-delimited instance from
the buffer. Read more
source§fn encoded_len(self) -> usize
fn encoded_len(self) -> usize
Returns the encoded length of the message without a length delimiter. Read more
source§fn decode_vec(v: &[u8]) -> Result<Self, Error>
fn decode_vec(v: &[u8]) -> Result<Self, Error>
Constructor that attempts to decode a Protobuf-encoded instance from a
Vec<u8>
(or equivalent).source§impl TryFrom<MsgTimeoutOnClose> for MsgTimeoutOnClose
impl TryFrom<MsgTimeoutOnClose> for MsgTimeoutOnClose
§type Error = PacketError
type Error = PacketError
The type returned in the event of a conversion error.
source§fn try_from(
raw_msg: MsgTimeoutOnClose
) -> Result<MsgTimeoutOnClose, <MsgTimeoutOnClose as TryFrom<MsgTimeoutOnClose>>::Error>
fn try_from( raw_msg: MsgTimeoutOnClose ) -> Result<MsgTimeoutOnClose, <MsgTimeoutOnClose as TryFrom<MsgTimeoutOnClose>>::Error>
Performs the conversion.
impl Eq for MsgTimeoutOnClose
impl StructuralPartialEq for MsgTimeoutOnClose
Auto Trait Implementations§
impl Freeze for MsgTimeoutOnClose
impl RefUnwindSafe for MsgTimeoutOnClose
impl Send for MsgTimeoutOnClose
impl Sync for MsgTimeoutOnClose
impl Unpin for MsgTimeoutOnClose
impl UnwindSafe for MsgTimeoutOnClose
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