pub enum EndBound {
    Bound(WindowFrameBound),
}Expand description
“optional” keyword is stable in protoc 3.15 but prost is still on 3.14 (see https://github.com/tokio-rs/prost/issues/430 and https://github.com/tokio-rs/prost/pull/455) this syntax is ugly but is binary compatible with the “optional” keyword (see https://stackoverflow.com/questions/42622015/how-to-define-an-optional-field-in-protobuf-3)
Variants§
Bound(WindowFrameBound)
Implementations§
source§impl EndBound
 
impl EndBound
sourcepub fn merge<B>(
    field: &mut Option<EndBound>,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError>where
    B: Buf,
 
pub fn merge<B>(
    field: &mut Option<EndBound>,
    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 PartialEq for EndBound
 
impl PartialEq for EndBound
impl StructuralPartialEq for EndBound
Auto Trait Implementations§
impl RefUnwindSafe for EndBound
impl Send for EndBound
impl Sync for EndBound
impl Unpin for EndBound
impl UnwindSafe for EndBound
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