Enum libcoap_rs::session::CoapSessionState
source · #[repr(u32)]
pub enum CoapSessionState {
None,
Connecting,
Handshake,
Csm,
Established,
}
Expand description
Representation of the states that a session can be in.
Variants
None
Connecting
Handshake
Csm
Established
Trait Implementations
sourceimpl From<coap_session_state_t> for CoapSessionState
impl From<coap_session_state_t> for CoapSessionState
sourcefn from(raw_state: coap_session_state_t) -> Self
fn from(raw_state: coap_session_state_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for CoapSessionState
impl Send for CoapSessionState
impl Sync for CoapSessionState
impl Unpin for CoapSessionState
impl UnwindSafe for CoapSessionState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more