pub enum Transport {
Tcp {
host: String,
port: u16,
tls: bool,
},
}Expand description
Per-endpoint dial transport, owned by super::endpoints. Intelligence is
HTTPS-only (target-vision pivot, Phase 1): one TCP shape, tls: true in
production; tls: false exists solely for the loopback dev/test carve-out
(the built-in mock LLM) and is rejected for non-loopback hosts at
[resolve] — so the enum-of-transports (unix/vsock) is gone, not gated.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Transport
impl RefUnwindSafe for Transport
impl Send for Transport
impl Sync for Transport
impl Unpin for Transport
impl UnsafeUnpin for Transport
impl UnwindSafe for Transport
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