#[non_exhaustive]#[repr(u32)]pub enum coap_uri_scheme_t {
COAP_URI_SCHEME_COAP = 0,
COAP_URI_SCHEME_COAPS = 1,
COAP_URI_SCHEME_COAP_TCP = 2,
COAP_URI_SCHEME_COAPS_TCP = 3,
COAP_URI_SCHEME_HTTP = 4,
COAP_URI_SCHEME_HTTPS = 5,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
COAP_URI_SCHEME_COAP = 0
COAP_URI_SCHEME_COAPS = 1
COAP_URI_SCHEME_COAP_TCP = 2
COAP_URI_SCHEME_COAPS_TCP = 3
COAP_URI_SCHEME_HTTP = 4
COAP_URI_SCHEME_HTTPS = 5
Trait Implementations§
Source§impl Clone for coap_uri_scheme_t
impl Clone for coap_uri_scheme_t
Source§fn clone(&self) -> coap_uri_scheme_t
fn clone(&self) -> coap_uri_scheme_t
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for coap_uri_scheme_t
impl Debug for coap_uri_scheme_t
Source§impl Hash for coap_uri_scheme_t
impl Hash for coap_uri_scheme_t
Source§impl PartialEq for coap_uri_scheme_t
impl PartialEq for coap_uri_scheme_t
impl Copy for coap_uri_scheme_t
impl Eq for coap_uri_scheme_t
impl StructuralPartialEq for coap_uri_scheme_t
Auto Trait Implementations§
impl Freeze for coap_uri_scheme_t
impl RefUnwindSafe for coap_uri_scheme_t
impl Send for coap_uri_scheme_t
impl Sync for coap_uri_scheme_t
impl Unpin for coap_uri_scheme_t
impl UnwindSafe for coap_uri_scheme_t
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