pub struct EncodedFrame {
pub payload: Bytes,
pub timestamp: Timestamp,
pub keyframe: bool,
}
Fields§
§payload: Bytes
§timestamp: Timestamp
§keyframe: bool
Trait Implementations§
Source§impl Debug for EncodedFrame
impl Debug for EncodedFrame
Source§impl From<EncodedAudioChunk> for EncodedFrame
impl From<EncodedAudioChunk> for EncodedFrame
Source§fn from(chunk: EncodedAudioChunk) -> Self
fn from(chunk: EncodedAudioChunk) -> Self
Converts to this type from the input type.
Source§impl From<EncodedVideoChunk> for EncodedFrame
impl From<EncodedVideoChunk> for EncodedFrame
Source§fn from(chunk: EncodedVideoChunk) -> Self
fn from(chunk: EncodedVideoChunk) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for EncodedFrame
impl RefUnwindSafe for EncodedFrame
impl Send for EncodedFrame
impl Sync for EncodedFrame
impl Unpin for EncodedFrame
impl UnwindSafe for EncodedFrame
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