pub struct ServiceRoute {
pub address: String,
pub transport: String,
pub connection_url: String,
}Expand description
Result of dialing a service: a live route to it. connection_url is a
heyo:// ticket consumable by P2pTunnel::connect.
Fields§
§address: Stringname:port address that was dialed.
transport: StringTransport — "iroh_tcp_proxy".
connection_url: Stringheyo:// ticket for the live route.
Trait Implementations§
Source§impl Clone for ServiceRoute
impl Clone for ServiceRoute
Source§fn clone(&self) -> ServiceRoute
fn clone(&self) -> ServiceRoute
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 ServiceRoute
impl Debug for ServiceRoute
Source§impl<'de> Deserialize<'de> for ServiceRoute
impl<'de> Deserialize<'de> for ServiceRoute
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
Auto Trait Implementations§
impl Freeze for ServiceRoute
impl RefUnwindSafe for ServiceRoute
impl Send for ServiceRoute
impl Sync for ServiceRoute
impl Unpin for ServiceRoute
impl UnsafeUnpin for ServiceRoute
impl UnwindSafe for ServiceRoute
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