Struct aldrin_core::message::Connect
source · pub struct Connect {
pub version: u32,
pub value: SerializedValue,
}Fields§
§version: u32§value: SerializedValueImplementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Connect
impl<'arbitrary> Arbitrary<'arbitrary> for Connect
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 MessageOps for Connect
impl MessageOps for Connect
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 Connect
impl PartialEq for Connect
impl Eq for Connect
impl StructuralEq for Connect
impl StructuralPartialEq for Connect
Auto Trait Implementations§
impl RefUnwindSafe for Connect
impl Send for Connect
impl Sync for Connect
impl Unpin for Connect
impl UnwindSafe for Connect
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