pub struct EndpointAuthority {
pub endpoint_id: EndpointId,
pub authority: Authority,
}Expand description
Routing destination combining an iroh endpoint and target authority.
Specifies both the upstream proxy to connect to (via endpoint_id) and
the origin server to reach through that proxy (via authority).
Fields§
§endpoint_id: EndpointIdIroh endpoint identifier of the upstream proxy.
Target authority for the CONNECT request (host:port).
Implementations§
Trait Implementations§
Source§impl Clone for EndpointAuthority
impl Clone for EndpointAuthority
Source§fn clone(&self) -> EndpointAuthority
fn clone(&self) -> EndpointAuthority
Returns a duplicate of the value. Read more
1.0.0 · 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 Freeze for EndpointAuthority
impl RefUnwindSafe for EndpointAuthority
impl Send for EndpointAuthority
impl Sync for EndpointAuthority
impl Unpin for EndpointAuthority
impl UnsafeUnpin for EndpointAuthority
impl UnwindSafe for EndpointAuthority
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