useopen62541_sys::UA_SessionState;/// Wrapper for secure channel state from [`open62541_sys`].
pubstructSessionState(UA_SessionState);implSessionState{/// Creates wrapper initialized with defaults.
#[must_use]pub(crate)constfninit()->Self{Self(UA_SessionState::UA_SESSIONSTATE_CLOSED)}/// Returns mutable pointer to value.
#[must_use]pub(crate)fnas_mut_ptr(&mutself)->*mut UA_SessionState{&mutself.0}}