pub enum BackendTransport {
Stdio,
StreamableHttp,
}Expand description
Transport type used to reach an upstream MCP server.
Variants§
Stdio
Spawn a local command and speak MCP over stdio.
StreamableHttp
Connect to a remote streamable HTTP MCP endpoint.
Trait Implementations§
Source§impl Clone for BackendTransport
impl Clone for BackendTransport
Source§fn clone(&self) -> BackendTransport
fn clone(&self) -> BackendTransport
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 BackendTransport
impl Debug for BackendTransport
Source§impl PartialEq for BackendTransport
impl PartialEq for BackendTransport
Source§fn eq(&self, other: &BackendTransport) -> bool
fn eq(&self, other: &BackendTransport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BackendTransport
impl Eq for BackendTransport
impl StructuralPartialEq for BackendTransport
Auto Trait Implementations§
impl Freeze for BackendTransport
impl RefUnwindSafe for BackendTransport
impl Send for BackendTransport
impl Sync for BackendTransport
impl Unpin for BackendTransport
impl UnsafeUnpin for BackendTransport
impl UnwindSafe for BackendTransport
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.