pub enum EndpointTarget {
Local(Arc<LocaleAdaptiveRing>),
Remote(RemoteEndpoint),
}Expand description
What a virtual endpoint resolves to at runtime.
Variants§
Local(Arc<LocaleAdaptiveRing>)
Local target: bytes flow through a LocaleAdaptiveRing on
this host. No network involved.
Remote(RemoteEndpoint)
Remote target: bytes flow over the wire to another host’s substrate instance. The address tells the QUIC bridge where to connect; the substrate does not require QUIC to be enabled for the local path to work.
Trait Implementations§
Source§impl Clone for EndpointTarget
impl Clone for EndpointTarget
Source§fn clone(&self) -> EndpointTarget
fn clone(&self) -> EndpointTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for EndpointTarget
impl !UnwindSafe for EndpointTarget
impl Freeze for EndpointTarget
impl Send for EndpointTarget
impl Sync for EndpointTarget
impl Unpin for EndpointTarget
impl UnsafeUnpin for EndpointTarget
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