pub struct SfuKeyframeRequest { /* private fields */ }Expand description
A keyframe request arriving from a subscriber, destined for a publisher.
Implementations§
Source§impl SfuKeyframeRequest
impl SfuKeyframeRequest
Sourcepub fn new_for_tests(
mid: SfuMid,
rid: Option<SfuRid>,
kind: SfuKeyframeKind,
) -> Self
Available on crate features test-utils only.
pub fn new_for_tests( mid: SfuMid, rid: Option<SfuRid>, kind: SfuKeyframeKind, ) -> Self
test-utils only.Construct a keyframe request for tests.
Bypasses the str0m conversion path — use only in unit/integration tests.
Trait Implementations§
Source§impl Clone for SfuKeyframeRequest
impl Clone for SfuKeyframeRequest
Source§fn clone(&self) -> SfuKeyframeRequest
fn clone(&self) -> SfuKeyframeRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SfuKeyframeRequest
impl Debug for SfuKeyframeRequest
Source§impl PartialEq for SfuKeyframeRequest
impl PartialEq for SfuKeyframeRequest
Source§fn eq(&self, other: &SfuKeyframeRequest) -> bool
fn eq(&self, other: &SfuKeyframeRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SfuKeyframeRequest
impl Eq for SfuKeyframeRequest
impl StructuralPartialEq for SfuKeyframeRequest
Auto Trait Implementations§
impl Freeze for SfuKeyframeRequest
impl RefUnwindSafe for SfuKeyframeRequest
impl Send for SfuKeyframeRequest
impl Sync for SfuKeyframeRequest
impl Unpin for SfuKeyframeRequest
impl UnsafeUnpin for SfuKeyframeRequest
impl UnwindSafe for SfuKeyframeRequest
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