pub enum SessionType {
Unicast,
Group,
}Expand description
The kind of session a message belongs to (§4.4.1.3).
Variants§
Unicast
A one-to-one session. With session id 0 this is the unsecured session, which “SHALL have no encryption, privacy, or message integrity checking”.
Group
A group session, addressed by Group ID.
Trait Implementations§
Source§impl Clone for SessionType
impl Clone for SessionType
impl Copy for SessionType
Source§impl Debug for SessionType
impl Debug for SessionType
Source§impl Default for SessionType
impl Default for SessionType
impl Eq for SessionType
Source§impl Hash for SessionType
impl Hash for SessionType
Source§impl PartialEq for SessionType
impl PartialEq for SessionType
impl StructuralPartialEq for SessionType
Auto Trait Implementations§
impl Forget for SessionType
impl Freeze for SessionType
impl Move for SessionType
impl RefUnwindSafe for SessionType
impl Send for SessionType
impl Sync for SessionType
impl Unpin for SessionType
impl UnsafeUnpin for SessionType
impl UnwindSafe for SessionType
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