pub struct EncryptOptions {
pub key: Option<KeyId>,
pub follow_up_group: Option<u8>,
pub send_mpan: Option<u8>,
pub mos: bool,
}Expand description
Options for one outgoing encapsulation.
Fields§
§key: Option<KeyId>Force a key; by default the temporary key while bootstrapping, else the peer’s highest class.
follow_up_group: Option<u8>A multicast follow-up: the MGRP group this singlecast follows.
send_mpan: Option<u8>Hand the peer our MPAN for this group (an encrypted MPAN extension).
mos: boolTell the peer we lack its MPAN (an MOS extension).
Trait Implementations§
Source§impl Clone for EncryptOptions
impl Clone for EncryptOptions
Source§impl Debug for EncryptOptions
impl Debug for EncryptOptions
Auto Trait Implementations§
impl Freeze for EncryptOptions
impl RefUnwindSafe for EncryptOptions
impl Send for EncryptOptions
impl Sync for EncryptOptions
impl Unpin for EncryptOptions
impl UnsafeUnpin for EncryptOptions
impl UnwindSafe for EncryptOptions
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