pub enum OpKind {
Unary,
Sequence,
Subscription,
}Variants§
Unary
One input, one output. The common case — every CRUD verb and every non-streaming procedure.
Sequence
One input, a finite sequence of outputs. Used for @stream
procedures and (future) streamed list. Terminates server-side.
Subscription
One input, an open-ended sequence of outputs ended only by client cancellation or disconnect. WebSocket-only — see §3.4 of the design doc. Fire-and-forget: no cursors, no replay buffer.
Implementations§
Trait Implementations§
impl Copy for OpKind
impl Eq for OpKind
impl StructuralPartialEq for OpKind
Auto Trait Implementations§
impl Freeze for OpKind
impl RefUnwindSafe for OpKind
impl Send for OpKind
impl Sync for OpKind
impl Unpin for OpKind
impl UnsafeUnpin for OpKind
impl UnwindSafe for OpKind
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