Enum coap_numbers::option::ProxySafety
source · pub enum ProxySafety {
SafeToForward {
cache_key: bool,
},
Unsafe,
}
Expand description
Classification of options by their default proxy behavior
Variants§
SafeToForward
A proxy can just forward such messages if it does not recognize them.
The cache_key parameter is true for options that are part of the cache key, and false for those that are not.
Unsafe
A proxy MUST reject forwarding such messages with 4.02 Bad Option if it does not know them
Trait Implementations§
source§impl Clone for ProxySafety
impl Clone for ProxySafety
source§fn clone(&self) -> ProxySafety
fn clone(&self) -> ProxySafety
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 ProxySafety
impl Debug for ProxySafety
source§impl PartialEq for ProxySafety
impl PartialEq for ProxySafety
source§fn eq(&self, other: &ProxySafety) -> bool
fn eq(&self, other: &ProxySafety) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ProxySafety
impl StructuralPartialEq for ProxySafety
Auto Trait Implementations§
impl Freeze for ProxySafety
impl RefUnwindSafe for ProxySafety
impl Send for ProxySafety
impl Sync for ProxySafety
impl Unpin for ProxySafety
impl UnwindSafe for ProxySafety
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