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