Struct aldrin_core::message::ChannelEndClosed
source · pub struct ChannelEndClosed {
pub cookie: ChannelCookie,
pub end: ChannelEnd,
}Fields§
§end: ChannelEndTrait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ChannelEndClosed
impl<'arbitrary> Arbitrary<'arbitrary> for ChannelEndClosed
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the entirety of the given
unstructured data. Read moresource§impl Clone for ChannelEndClosed
impl Clone for ChannelEndClosed
source§fn clone(&self) -> ChannelEndClosed
fn clone(&self) -> ChannelEndClosed
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 ChannelEndClosed
impl Debug for ChannelEndClosed
source§impl From<ChannelEndClosed> for Message
impl From<ChannelEndClosed> for Message
source§fn from(msg: ChannelEndClosed) -> Self
fn from(msg: ChannelEndClosed) -> Self
Converts to this type from the input type.
source§impl MessageOps for ChannelEndClosed
impl MessageOps for ChannelEndClosed
fn kind(&self) -> MessageKind
fn serialize_message(self) -> Result<BytesMut, MessageSerializeError>
fn deserialize_message(buf: BytesMut) -> Result<Self, MessageDeserializeError>
fn value(&self) -> Option<&SerializedValueSlice>
source§impl PartialEq for ChannelEndClosed
impl PartialEq for ChannelEndClosed
source§fn eq(&self, other: &ChannelEndClosed) -> bool
fn eq(&self, other: &ChannelEndClosed) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ChannelEndClosed
impl Eq for ChannelEndClosed
impl StructuralEq for ChannelEndClosed
impl StructuralPartialEq for ChannelEndClosed
Auto Trait Implementations§
impl RefUnwindSafe for ChannelEndClosed
impl Send for ChannelEndClosed
impl Sync for ChannelEndClosed
impl Unpin for ChannelEndClosed
impl UnwindSafe for ChannelEndClosed
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