pub enum RequestType {
    Get,
    Observe,
    Slot2,
    Slot3,
    Slot4,
    Slot5,
    Slot6,
    Slot7,
    Push,
    GetMany,
}Expand description
This must contain the request types in the same order as the full requests
Variants§
Trait Implementations§
Source§impl Clone for RequestType
 
impl Clone for RequestType
Source§fn clone(&self) -> RequestType
 
fn clone(&self) -> RequestType
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 RequestType
 
impl Debug for RequestType
Source§impl<'de> Deserialize<'de> for RequestType
 
impl<'de> Deserialize<'de> for RequestType
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 MaxSize for RequestType
 
impl MaxSize for RequestType
Source§const POSTCARD_MAX_SIZE: usize = 1usize
 
const POSTCARD_MAX_SIZE: usize = 1usize
The maximum possible size that the serialization of this
type can have, in bytes.
Source§impl PartialEq for RequestType
 
impl PartialEq for RequestType
Source§impl Serialize for RequestType
 
impl Serialize for RequestType
impl Copy for RequestType
impl Eq for RequestType
impl StructuralPartialEq for RequestType
Auto Trait Implementations§
impl Freeze for RequestType
impl RefUnwindSafe for RequestType
impl Send for RequestType
impl Sync for RequestType
impl Unpin for RequestType
impl UnwindSafe for RequestType
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
§impl<T> CompatExt for T
 
impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.