pub struct IpcEndpoint<Handler> {
handler: Handler,
path: String,
}
Available on crate feature
ipc
only.Expand description
An IPC connection for anvil
A Future that listens for incoming connections and spawns new connections
Fields§
§handler: Handler
the handler for the websocket connection
path: String
The path to the socket
Implementations§
Source§impl<Handler: PubSubRpcHandler> IpcEndpoint<Handler>
impl<Handler: PubSubRpcHandler> IpcEndpoint<Handler>
Auto Trait Implementations§
impl<Handler> Freeze for IpcEndpoint<Handler>where
Handler: Freeze,
impl<Handler> RefUnwindSafe for IpcEndpoint<Handler>where
Handler: RefUnwindSafe,
impl<Handler> Send for IpcEndpoint<Handler>where
Handler: Send,
impl<Handler> Sync for IpcEndpoint<Handler>where
Handler: Sync,
impl<Handler> Unpin for IpcEndpoint<Handler>where
Handler: Unpin,
impl<Handler> UnwindSafe for IpcEndpoint<Handler>where
Handler: 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.