pub enum EncodingOptions {
Preset(i32),
Options(IngressAudioEncodingOptions),
}
Variants§
Preset(i32)
Options(IngressAudioEncodingOptions)
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 copy 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<EncodingOptions> for EncodingOptions
impl PartialEq<EncodingOptions> for EncodingOptions
source§fn eq(&self, other: &EncodingOptions) -> bool
fn eq(&self, other: &EncodingOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EncodingOptions
Auto Trait Implementations§
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