pub enum TransportId {
Http,
Ws,
Grpc,
Mcp,
Wasm,
}Expand description
Transport kinds that can host a server route.
Closed set: http:, ws:, grpc:, mcp:, and wasm: (source
routes hosting an http-listener) are the only transports that
terminate requests and run authorization.
exhaustive-by-contract: closed transport set; a new transport is an architectural change, not additive growth.
Variants§
Trait Implementations§
Source§impl Clone for TransportId
impl Clone for TransportId
Source§fn clone(&self) -> TransportId
fn clone(&self) -> TransportId
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 moreimpl Copy for TransportId
Source§impl Debug for TransportId
impl Debug for TransportId
impl Eq for TransportId
Source§impl Hash for TransportId
impl Hash for TransportId
Source§impl PartialEq for TransportId
impl PartialEq for TransportId
impl StructuralPartialEq for TransportId
Auto Trait Implementations§
impl Freeze for TransportId
impl RefUnwindSafe for TransportId
impl Send for TransportId
impl Sync for TransportId
impl Unpin for TransportId
impl UnsafeUnpin for TransportId
impl UnwindSafe for TransportId
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