pub enum NetPayload {
None,
Fetches,
SendsHostData,
}Expand description
What a network capability carries (v1.4 §2.5).
Variants§
Trait Implementations§
Source§impl Clone for NetPayload
impl Clone for NetPayload
Source§fn clone(&self) -> NetPayload
fn clone(&self) -> NetPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NetPayload
Source§impl Debug for NetPayload
impl Debug for NetPayload
Source§impl Default for NetPayload
impl Default for NetPayload
Source§fn default() -> NetPayload
fn default() -> NetPayload
Returns the “default value” for a type. Read more
impl Eq for NetPayload
Source§impl FacetTerm for NetPayload
impl FacetTerm for NetPayload
Source§impl Hash for NetPayload
impl Hash for NetPayload
Source§impl Ord for NetPayload
impl Ord for NetPayload
Source§fn cmp(&self, other: &NetPayload) -> Ordering
fn cmp(&self, other: &NetPayload) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NetPayload
impl PartialEq for NetPayload
Source§impl PartialOrd for NetPayload
impl PartialOrd for NetPayload
impl StructuralPartialEq for NetPayload
Auto Trait Implementations§
impl Freeze for NetPayload
impl RefUnwindSafe for NetPayload
impl Send for NetPayload
impl Sync for NetPayload
impl Unpin for NetPayload
impl UnsafeUnpin for NetPayload
impl UnwindSafe for NetPayload
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.