pub struct WirePlane {
pub path: String,
pub transports: Vec<String>,
pub ticket_param: Option<String>,
pub protocol: Option<String>,
}Expand description
One wire plane’s advertisement in the WirePlaneTable.
A “plane” is a non-file wire endpoint the daemon serves (9P, moq, …). This is the cs/ndb analog: a client resolves a plane NAME → its current path + carriers here, then dials/mounts wherever it wants. The server advertises; it never dictates that the client hardcode the path.
Fields§
§path: StringURL path the plane is currently served on (e.g. /9p, /moq). This is
the value a client resolves against instead of a hardcoded constant.
transports: Vec<String>Carriers the plane is reachable over, most-preferred first. ws =
WebSocket (browser-native), webtransport = WebTransport over QUIC/H3.
ticket_param: Option<String>Query-param carrying the plane’s auth/mount ticket, if it needs one. Omitted from JSON when the plane is unauthenticated at the transport.
protocol: Option<String>Protocol/dialect tag for the plane (e.g. 9P2000.L), if meaningful.
Omitted when the plane has no single dialect to name.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WirePlane
impl<'de> Deserialize<'de> for WirePlane
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for WirePlane
impl StructuralPartialEq for WirePlane
Auto Trait Implementations§
impl Freeze for WirePlane
impl RefUnwindSafe for WirePlane
impl Send for WirePlane
impl Sync for WirePlane
impl Unpin for WirePlane
impl UnsafeUnpin for WirePlane
impl UnwindSafe for WirePlane
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
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
key and return true if they are equal.§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
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
key and return true if they are equal.§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request