pub struct VideoCapability {
pub codec: Codec,
pub direction: ReceiveTransmit,
pub level_preferences: Vec<VideoLevelPreference>,
pub codec_parameters: Vec<u32>,
pub encryption_capability: Option<EncryptionCapability>,
pub address_type: Option<IpAddressType>,
}Expand description
One advertised video codec and its supported operating levels.
Fields§
§codec: Codec§direction: ReceiveTransmit§level_preferences: Vec<VideoLevelPreference>§codec_parameters: Vec<u32>Codec-specific words. Their interpretation is selected by codec.
encryption_capability: Option<EncryptionCapability>Optional encryption support in layouts that carry it.
address_type: Option<IpAddressType>Optional network-address family in layouts that carry it.
Trait Implementations§
Source§impl Clone for VideoCapability
impl Clone for VideoCapability
Source§fn clone(&self) -> VideoCapability
fn clone(&self) -> VideoCapability
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 VideoCapability
impl Debug for VideoCapability
impl Eq for VideoCapability
Source§impl PartialEq for VideoCapability
impl PartialEq for VideoCapability
impl StructuralPartialEq for VideoCapability
Auto Trait Implementations§
impl Freeze for VideoCapability
impl RefUnwindSafe for VideoCapability
impl Send for VideoCapability
impl Sync for VideoCapability
impl Unpin for VideoCapability
impl UnsafeUnpin for VideoCapability
impl UnwindSafe for VideoCapability
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