pub struct WireSocket {
pub path: Option<PathBuf>,
}Expand description
Node wire socket that wire/1 streams splice onto (ADR-310).
Carriers pass a configured path (for example from NODE_WIRE_SOCKET).
When Self::path is None, wire/1 is refused and existing HTTP/WS
behaviour is unchanged.
Fields§
§path: Option<PathBuf>Absolute path to the node’s trusted wire listener, if configured.
Trait Implementations§
Source§impl Clone for WireSocket
impl Clone for WireSocket
Source§impl Debug for WireSocket
impl Debug for WireSocket
Auto Trait Implementations§
impl Forget for WireSocket
impl Freeze for WireSocket
impl Move for WireSocket
impl RefUnwindSafe for WireSocket
impl Send for WireSocketwhere
RawVecInner: Send,
impl Sync for WireSocketwhere
RawVecInner: Sync,
impl Unpin for WireSocket
impl UnsafeUnpin for WireSocket
impl UnwindSafe for WireSocketwhere
RawVecInner: UnwindSafe,
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