pub enum EgressTarget {
Loopback,
Private,
Public {
host: String,
},
Connector {
label: ServerLabel,
},
}Expand description
address resolution; kernel never resolves names.
Closed: the kinds of destination a city can distinguish still grow, and every module that decides about a destination has to be shown the new kind by the compiler on the day it is added.
Variants§
Loopback
Private
Public
Connector
An external server this building configured. The city names the connector rather than a host because a connector’s own destination is not visible from here: claiming a host would be inventing one, and claiming loopback would understate where the bytes can end up.
Fields
§
label: ServerLabelTrait Implementations§
Source§impl Clone for EgressTarget
impl Clone for EgressTarget
Source§impl Debug for EgressTarget
impl Debug for EgressTarget
impl Eq for EgressTarget
Source§impl PartialEq for EgressTarget
impl PartialEq for EgressTarget
impl StructuralPartialEq for EgressTarget
Auto Trait Implementations§
impl Freeze for EgressTarget
impl RefUnwindSafe for EgressTarget
impl Send for EgressTarget
impl Sync for EgressTarget
impl Unpin for EgressTarget
impl UnsafeUnpin for EgressTarget
impl UnwindSafe for EgressTarget
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