pub enum ActionTransport {
Any,
McpOnly,
}Expand description
Which transports an action is reachable over.
Variants§
Any
Available over MCP, CLI, and REST.
McpOnly
Available over MCP only (e.g. actions requiring client-side elicitation).
Implementations§
Trait Implementations§
Source§impl Clone for ActionTransport
impl Clone for ActionTransport
Source§fn clone(&self) -> ActionTransport
fn clone(&self) -> ActionTransport
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 ActionTransport
impl Debug for ActionTransport
Source§impl PartialEq for ActionTransport
impl PartialEq for ActionTransport
Source§fn eq(&self, other: &ActionTransport) -> bool
fn eq(&self, other: &ActionTransport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ActionTransport
impl Eq for ActionTransport
impl StructuralPartialEq for ActionTransport
Auto Trait Implementations§
impl Freeze for ActionTransport
impl RefUnwindSafe for ActionTransport
impl Send for ActionTransport
impl Sync for ActionTransport
impl Unpin for ActionTransport
impl UnsafeUnpin for ActionTransport
impl UnwindSafe for ActionTransport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.