pub struct DialOut {
pub url: String,
pub key: PathBuf,
pub agent: String,
pub mount: Option<String>,
pub trust: Option<String>,
pub backoff: Backoff,
pub timeout: Duration,
}Expand description
Where a service dials out to, as whom, and under what name it asks to be mounted.
Fields§
§url: StringThe relay’s socket: ws://HOST:PORT/ws (wss:// with child-wss).
key: PathBufThe key file the upgrade’s proof is signed with (spec/00): synapse’s
~/.plexus/keys/<name>.key, 0600. Read at each dial, never kept.
agent: StringThe proof’s agent id.
mount: Option<String>The mount name asked for (peers.<mount>); none: the activation’s
namespace.
trust: Option<String>The relay’s principal, pinned (spec/14 rule 4): a hop is believed only when it names this principal as the service acting. None: the socket this side dialed is the relay’s alone, and every hop on it is the relay’s (as a pipe’s are its parent’s).
backoff: BackoffDialing again after the socket drops.
timeout: Duration_info, the offer’s answer, and each of this side’s calls’ opens.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for DialOut
impl Freeze for DialOut
impl RefUnwindSafe for DialOut
impl Send for DialOut
impl Sync for DialOut
impl Unpin for DialOut
impl UnsafeUnpin for DialOut
impl UnwindSafe for DialOut
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