pub enum McpStreamPolicy {
None,
Progress,
DataStream,
}Expand description
Streaming behavior a surface row advertises to clients.
Variants§
None
No streaming; a single response is returned.
Progress
The call emits incremental progress notifications.
DataStream
The call emits a stream of data chunks.
Implementations§
Trait Implementations§
Source§impl Clone for McpStreamPolicy
impl Clone for McpStreamPolicy
Source§fn clone(&self) -> McpStreamPolicy
fn clone(&self) -> McpStreamPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for McpStreamPolicy
impl Debug for McpStreamPolicy
Source§impl Default for McpStreamPolicy
impl Default for McpStreamPolicy
Source§fn default() -> McpStreamPolicy
fn default() -> McpStreamPolicy
Returns the “default value” for a type. Read more
impl Eq for McpStreamPolicy
Source§impl PartialEq for McpStreamPolicy
impl PartialEq for McpStreamPolicy
Source§fn eq(&self, other: &McpStreamPolicy) -> bool
fn eq(&self, other: &McpStreamPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for McpStreamPolicy
Auto Trait Implementations§
impl Freeze for McpStreamPolicy
impl RefUnwindSafe for McpStreamPolicy
impl Send for McpStreamPolicy
impl Sync for McpStreamPolicy
impl Unpin for McpStreamPolicy
impl UnsafeUnpin for McpStreamPolicy
impl UnwindSafe for McpStreamPolicy
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