pub struct KeyFrameTx {
pub protocol_version: ProtocolVersion,
pub key_frame_fields: KeyFrameFields,
/* private fields */
}
Fields§
§protocol_version: ProtocolVersion
§key_frame_fields: KeyFrameFields
Implementations§
Source§impl KeyFrameTx
impl KeyFrameTx
pub fn new( protocol_version: ProtocolVersion, key_frame_fields: KeyFrameFields, key_data: Vec<u8>, mic_len: usize, ) -> Self
pub fn serialize(self) -> KeyFrameTxFinalizer
Trait Implementations§
Source§impl Clone for KeyFrameTx
impl Clone for KeyFrameTx
Source§fn clone(&self) -> KeyFrameTx
fn clone(&self) -> KeyFrameTx
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for KeyFrameTx
impl RefUnwindSafe for KeyFrameTx
impl Send for KeyFrameTx
impl Sync for KeyFrameTx
impl Unpin for KeyFrameTx
impl UnwindSafe for KeyFrameTx
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)