pub enum EndpointScope {
Federation,
Local,
}Expand description
Where this endpoint sits in the reachability graph.
Variants§
Federation
Public-facing relay (e.g. https://wireup.net). Crosses machines.
Local
Loopback-only relay (e.g. http://127.0.0.1:8771). Same-machine only.
Trait Implementations§
Source§impl Clone for EndpointScope
impl Clone for EndpointScope
Source§fn clone(&self) -> EndpointScope
fn clone(&self) -> EndpointScope
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 moreSource§impl Debug for EndpointScope
impl Debug for EndpointScope
Source§impl<'de> Deserialize<'de> for EndpointScope
impl<'de> Deserialize<'de> for EndpointScope
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EndpointScope
impl PartialEq for EndpointScope
Source§fn eq(&self, other: &EndpointScope) -> bool
fn eq(&self, other: &EndpointScope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EndpointScope
impl Serialize for EndpointScope
impl Copy for EndpointScope
impl Eq for EndpointScope
impl StructuralPartialEq for EndpointScope
Auto Trait Implementations§
impl Freeze for EndpointScope
impl RefUnwindSafe for EndpointScope
impl Send for EndpointScope
impl Sync for EndpointScope
impl Unpin for EndpointScope
impl UnsafeUnpin for EndpointScope
impl UnwindSafe for EndpointScope
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