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<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::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
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§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.