pub enum EmitKind {
Direct(Direct),
Emit(Emit),
}
Variants§
Direct(Direct)
The underlying relation is output as is (no reordering or projection of columns)
Emit(Emit)
Allows to control for order and inclusion of fields
Implementations§
Source§impl EmitKind
impl EmitKind
Sourcepub fn merge(
field: &mut Option<EmitKind>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<EmitKind>, 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 StructuralPartialEq for EmitKind
Auto Trait Implementations§
impl Freeze for EmitKind
impl RefUnwindSafe for EmitKind
impl Send for EmitKind
impl Sync for EmitKind
impl Unpin for EmitKind
impl UnwindSafe for EmitKind
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