pub enum OverlaydResponse {
Ok,
Ip {
ip: IpAddr,
},
Attached(AttachResult),
GuestConfig(GuestOverlayConfig),
BridgeName {
name: String,
},
Status(StatusSnapshot),
ServiceOverlay(ServiceOverlayInfo),
Err {
message: String,
},
}Expand description
overlayd’s answer to an OverlaydRequest.
Variants§
Ok
Generic success with no payload.
Ip
An allocated/validated overlay IP (AllocateIp).
Attached(AttachResult)
A completed container attach.
GuestConfig(GuestOverlayConfig)
The overlay identity for a guest-managed attach
(AttachHandle::GuestManaged): the keypair, allocated address, and the
peer set the guest should configure on its own WireGuard device.
BridgeName
The interface/bridge/network name created (SetupServiceOverlay,
SetupGlobalOverlay).
Status(StatusSnapshot)
A diagnostics snapshot (Status).
ServiceOverlay(ServiceOverlayInfo)
A dedicated per-service overlay device’s identity (SetupServiceOverlay
in Dedicated mode). Not yet produced by the server — the server still
returns OverlaydResponse::BridgeName for now; this variant is the
wire contract for a later task that switches Dedicated setup over.
Err
The request failed; message is a human-readable reason.
Trait Implementations§
Source§impl Clone for OverlaydResponse
impl Clone for OverlaydResponse
Source§fn clone(&self) -> OverlaydResponse
fn clone(&self) -> OverlaydResponse
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for OverlaydResponse
impl Debug for OverlaydResponse
Source§impl<'de> Deserialize<'de> for OverlaydResponse
impl<'de> Deserialize<'de> for OverlaydResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OverlaydResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OverlaydResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for OverlaydResponse
Source§impl PartialEq for OverlaydResponse
impl PartialEq for OverlaydResponse
Source§fn eq(&self, other: &OverlaydResponse) -> bool
fn eq(&self, other: &OverlaydResponse) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for OverlaydResponse
impl Serialize for OverlaydResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for OverlaydResponse
Auto Trait Implementations§
impl Freeze for OverlaydResponse
impl RefUnwindSafe for OverlaydResponse
impl Send for OverlaydResponse
impl Sync for OverlaydResponse
impl Unpin for OverlaydResponse
impl UnsafeUnpin for OverlaydResponse
impl UnwindSafe for OverlaydResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.Source§impl<T> FromBase64 for Twhere
T: for<'de> Deserialize<'de>,
impl<T> FromBase64 for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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 more