pub enum EncodingOptions {
Preset(i32),
Options(IngressVideoEncodingOptions),
}
Variants§
Preset(i32)
Options(IngressVideoEncodingOptions)
Implementations§
Source§impl EncodingOptions
impl EncodingOptions
Sourcepub fn merge<B>(
field: &mut Option<EncodingOptions>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext,
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<EncodingOptions>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext,
) -> Result<(), DecodeError>where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
Sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
Source§impl Clone for EncodingOptions
impl Clone for EncodingOptions
Source§fn clone(&self) -> EncodingOptions
fn clone(&self) -> EncodingOptions
Returns a duplicate 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 moreSource§impl Debug for EncodingOptions
impl Debug for EncodingOptions
Source§impl PartialEq for EncodingOptions
impl PartialEq for EncodingOptions
impl StructuralPartialEq for EncodingOptions
Auto Trait Implementations§
impl Freeze for EncodingOptions
impl RefUnwindSafe for EncodingOptions
impl Send for EncodingOptions
impl Sync for EncodingOptions
impl Unpin for EncodingOptions
impl UnwindSafe for EncodingOptions
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