pub enum Address {
Quic(EndpointAddr),
Inproc(InprocAddr),
Unix(UnixAddr),
Pipe(PipeAddr),
}Expand description
An address of any transport.
The transport is part of the address and nothing falls back from one to another on its own: that would change who may connect and what proves them without saying so [0010 §4.6].
Variants§
Quic(EndpointAddr)
weida://[fingerprint@]host:port/path — the network transport.
Inproc(InprocAddr)
weida+inproc://bus/path — in process, no socket and no identity.
Unix(UnixAddr)
weida+unix://<percent-encoded>/path — AF_UNIX, the kernel proves
the peer.
Pipe(PipeAddr)
weida+pipe://<name>/path — a Windows named pipe, the kernel proves
the peer.
Implementations§
Trait Implementations§
impl Eq for Address
impl StructuralPartialEq for Address
Auto Trait Implementations§
impl Freeze for Address
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnsafeUnpin for Address
impl UnwindSafe for Address
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