pub enum TypeSettings {
EotSettings(EotSettings),
InterruptionSettings(InterruptionSettings),
}Variants§
EotSettings(EotSettings)
InterruptionSettings(InterruptionSettings)
Implementations§
Source§impl TypeSettings
impl TypeSettings
Sourcepub fn merge(
field: &mut Option<TypeSettings>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<TypeSettings>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
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 TypeSettings
impl Clone for TypeSettings
impl Copy for TypeSettings
Source§impl Debug for TypeSettings
impl Debug for TypeSettings
Source§impl PartialEq for TypeSettings
impl PartialEq for TypeSettings
impl StructuralPartialEq for TypeSettings
Auto Trait Implementations§
impl Freeze for TypeSettings
impl RefUnwindSafe for TypeSettings
impl Send for TypeSettings
impl Sync for TypeSettings
impl Unpin for TypeSettings
impl UnsafeUnpin for TypeSettings
impl UnwindSafe for TypeSettings
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