pub enum TestEventSimple {
Set(Vec<u8>),
Append(Vec<u8>),
Clear,
}
Variants§
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for TestEventSimple
impl<'arbitrary> Arbitrary<'arbitrary> for TestEventSimple
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§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§impl Clone for TestEventSimple
impl Clone for TestEventSimple
Source§fn clone(&self) -> TestEventSimple
fn clone(&self) -> TestEventSimple
Returns a duplicate 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 TestEventSimple
impl Debug for TestEventSimple
Source§impl DeepSizeOf for TestEventSimple
impl DeepSizeOf for TestEventSimple
Source§fn deep_size_of_children(&self, context: &mut Context) -> usize
fn deep_size_of_children(&self, context: &mut Context) -> usize
Returns an estimation of the heap-managed storage of this object.
This does not include the size of the object itself. Read more
Source§fn deep_size_of(&self) -> usize
fn deep_size_of(&self) -> usize
Returns an estimation of a total size of memory owned by the
object, including heap-managed storage. Read more
Source§impl<'de> Deserialize<'de> for TestEventSimple
impl<'de> Deserialize<'de> for TestEventSimple
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Event for TestEventSimple
impl Event for TestEventSimple
fn required_binaries(&self) -> Vec<BinPtr>
Source§impl PartialEq for TestEventSimple
impl PartialEq for TestEventSimple
Source§impl Serialize for TestEventSimple
impl Serialize for TestEventSimple
impl Eq for TestEventSimple
impl StructuralPartialEq for TestEventSimple
Auto Trait Implementations§
impl Freeze for TestEventSimple
impl RefUnwindSafe for TestEventSimple
impl Send for TestEventSimple
impl Sync for TestEventSimple
impl Unpin for TestEventSimple
impl UnwindSafe for TestEventSimple
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