pub struct Keys {
pub epoch: u64,
pub sender_keys: Opaque,
pub keys: Vec<KeyFor>,
}Expand description
voice.keys: the sender’s media key for epoch, wrapped for each other participant.
A whole mesh always fits in one command, so an epoch is never split.
Fields§
§epoch: u64The sender’s key epoch.
sender_keys: OpaqueThe sender’s signed message for this epoch, the same for every recipient (it covers every wrapped key), opaque, at most 6 KiB. Each recipient receives it.
keys: Vec<KeyFor>One entry per recipient, at most mesh_max − 1 and each recipient once.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Keys
impl<'de> Deserialize<'de> for Keys
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Keys
impl StructuralPartialEq for Keys
Auto Trait Implementations§
impl Freeze for Keys
impl RefUnwindSafe for Keys
impl Send for Keys
impl Sync for Keys
impl Unpin for Keys
impl UnsafeUnpin for Keys
impl UnwindSafe for Keys
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