pub struct SeqSendPath(pub PortId, pub ChannelId);
Tuple Fields§
§0: PortId
§1: ChannelId
Implementations§
source§impl SeqSendPath
impl SeqSendPath
pub fn new(port_id: &PortId, channel_id: &ChannelId) -> SeqSendPath
Trait Implementations§
source§impl BorshDeserialize for SeqSendPath
impl BorshDeserialize for SeqSendPath
fn deserialize_reader<R>(reader: &mut R) -> Result<SeqSendPath, 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 SeqSendPath
impl BorshSerialize for SeqSendPath
source§impl Clone for SeqSendPath
impl Clone for SeqSendPath
source§fn clone(&self) -> SeqSendPath
fn clone(&self) -> SeqSendPath
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 SeqSendPath
impl Debug for SeqSendPath
source§impl Decode for SeqSendPath
impl Decode for SeqSendPath
source§fn decode<__CodecInputEdqy>(
__codec_input_edqy: &mut __CodecInputEdqy
) -> Result<SeqSendPath, Error>where
__CodecInputEdqy: Input,
fn decode<__CodecInputEdqy>(
__codec_input_edqy: &mut __CodecInputEdqy
) -> Result<SeqSendPath, Error>where
__CodecInputEdqy: Input,
Attempt to deserialise the value from input.
source§fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>
) -> Result<DecodeFinished, Error>where
I: Input,
fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>
) -> Result<DecodeFinished, Error>where
I: Input,
Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
source§impl<'de> Deserialize<'de> for SeqSendPath
impl<'de> Deserialize<'de> for SeqSendPath
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<SeqSendPath, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SeqSendPath, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for SeqSendPath
impl Display for SeqSendPath
source§impl Encode for SeqSendPath
impl Encode for SeqSendPath
source§fn size_hint(&self) -> usize
fn size_hint(&self) -> usize
If possible give a hint of expected size of the encoding. Read more
source§fn encode_to<__CodecOutputEdqy>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)
fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy )
Convert self to a slice and append it to the destination.
source§fn using_encoded<R, F>(&self, f: F) -> R
fn using_encoded<R, F>(&self, f: F) -> R
Convert self to a slice and then invoke the given closure with it.
source§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Calculates the encoded size. Read more
source§impl From<SeqSendPath> for Path
impl From<SeqSendPath> for Path
source§fn from(original: SeqSendPath) -> Path
fn from(original: SeqSendPath) -> Path
Converts to this type from the input type.
source§impl Hash for SeqSendPath
impl Hash for SeqSendPath
source§impl Ord for SeqSendPath
impl Ord for SeqSendPath
source§fn cmp(&self, other: &SeqSendPath) -> Ordering
fn cmp(&self, other: &SeqSendPath) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SeqSendPath
impl PartialEq for SeqSendPath
source§fn eq(&self, other: &SeqSendPath) -> bool
fn eq(&self, other: &SeqSendPath) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SeqSendPath
impl PartialOrd for SeqSendPath
source§fn partial_cmp(&self, other: &SeqSendPath) -> Option<Ordering>
fn partial_cmp(&self, other: &SeqSendPath) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for SeqSendPath
impl Serialize for SeqSendPath
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl TypeInfo for SeqSendPath
impl TypeInfo for SeqSendPath
impl EncodeLike for SeqSendPath
impl Eq for SeqSendPath
impl StructuralPartialEq for SeqSendPath
Auto Trait Implementations§
impl Freeze for SeqSendPath
impl RefUnwindSafe for SeqSendPath
impl Send for SeqSendPath
impl Sync for SeqSendPath
impl Unpin for SeqSendPath
impl UnwindSafe for SeqSendPath
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