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