pub struct VideoPictureReferences(/* private fields */);Expand description
A recovery request’s bounded ordered picture-reference list.
Implementations§
Source§impl VideoPictureReferences
impl VideoPictureReferences
Sourcepub fn new(
pictures: impl IntoIterator<Item = VideoPictureReference>,
) -> Result<Self, ServerError>
pub fn new( pictures: impl IntoIterator<Item = VideoPictureReference>, ) -> Result<Self, ServerError>
Collects at most five items before rejecting a list beyond the wire capacity, so even an unbounded iterator cannot cause unbounded storage.
Sourcepub fn as_slice(&self) -> &[VideoPictureReference]
pub fn as_slice(&self) -> &[VideoPictureReference]
Returns picture identities in wire order.
Trait Implementations§
Source§impl Clone for VideoPictureReferences
impl Clone for VideoPictureReferences
Source§fn clone(&self) -> VideoPictureReferences
fn clone(&self) -> VideoPictureReferences
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 VideoPictureReferences
impl Debug for VideoPictureReferences
impl Eq for VideoPictureReferences
Source§impl PartialEq for VideoPictureReferences
impl PartialEq for VideoPictureReferences
impl StructuralPartialEq for VideoPictureReferences
Auto Trait Implementations§
impl Freeze for VideoPictureReferences
impl RefUnwindSafe for VideoPictureReferences
impl Send for VideoPictureReferences
impl Sync for VideoPictureReferences
impl Unpin for VideoPictureReferences
impl UnsafeUnpin for VideoPictureReferences
impl UnwindSafe for VideoPictureReferences
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