#[repr(C)]pub enum PamojaCoapReliability {
NonConfirmable = 0,
Confirmable = 1,
}Expand description
Whether a CoAP request is acknowledged and retried.
Variants§
NonConfirmable = 0
Fire and forget: the request is sent once and not acknowledged.
Confirmable = 1
The request is acknowledged, and retransmitted until an ACK arrives.
Trait Implementations§
Source§impl Clone for PamojaCoapReliability
impl Clone for PamojaCoapReliability
Source§fn clone(&self) -> PamojaCoapReliability
fn clone(&self) -> PamojaCoapReliability
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 PamojaCoapReliability
Source§impl Debug for PamojaCoapReliability
impl Debug for PamojaCoapReliability
impl Eq for PamojaCoapReliability
Source§impl PartialEq for PamojaCoapReliability
impl PartialEq for PamojaCoapReliability
Source§fn eq(&self, other: &PamojaCoapReliability) -> bool
fn eq(&self, other: &PamojaCoapReliability) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PamojaCoapReliability
Auto Trait Implementations§
impl Freeze for PamojaCoapReliability
impl RefUnwindSafe for PamojaCoapReliability
impl Send for PamojaCoapReliability
impl Sync for PamojaCoapReliability
impl Unpin for PamojaCoapReliability
impl UnsafeUnpin for PamojaCoapReliability
impl UnwindSafe for PamojaCoapReliability
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