pub struct HARWebSocketService<S> { /* private fields */ }Expand description
Service produced by HARWebSocketLayer.
Trait Implementations§
Source§impl<S: Clone> Clone for HARWebSocketService<S>
impl<S: Clone> Clone for HARWebSocketService<S>
Source§fn clone(&self) -> HARWebSocketService<S>
fn clone(&self) -> HARWebSocketService<S>
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<S: Debug> Debug for HARWebSocketService<S>
impl<S: Debug> Debug for HARWebSocketService<S>
Source§impl<Inner, Socket> Service<ClientWebSocket<Socket>> for HARWebSocketService<Inner>
impl<Inner, Socket> Service<ClientWebSocket<Socket>> for HARWebSocketService<Inner>
Source§type Output = <Inner as Service<ClientWebSocket<HARWebSocket<Socket>>>>::Output
type Output = <Inner as Service<ClientWebSocket<HARWebSocket<Socket>>>>::Output
The type of the output returned by the service.
Source§type Error = <Inner as Service<ClientWebSocket<HARWebSocket<Socket>>>>::Error
type Error = <Inner as Service<ClientWebSocket<HARWebSocket<Socket>>>>::Error
The type of error returned by the service.
Source§impl<Inner, Socket> Service<ServerWebSocket<Socket>> for HARWebSocketService<Inner>
impl<Inner, Socket> Service<ServerWebSocket<Socket>> for HARWebSocketService<Inner>
Source§type Output = <Inner as Service<ServerWebSocket<HARWebSocket<Socket>>>>::Output
type Output = <Inner as Service<ServerWebSocket<HARWebSocket<Socket>>>>::Output
The type of the output returned by the service.
Source§type Error = <Inner as Service<ServerWebSocket<HARWebSocket<Socket>>>>::Error
type Error = <Inner as Service<ServerWebSocket<HARWebSocket<Socket>>>>::Error
The type of error returned by the service.
Source§impl<Inner, Ingress, Egress> Service<WebSocketBridge<Ingress, Egress>> for HARWebSocketService<Inner>where
Inner: Service<WebSocketBridge<HARWebSocket<Ingress>, HARWebSocket<Egress>>>,
Ingress: WebSocketIo,
Egress: WebSocketIo,
impl<Inner, Ingress, Egress> Service<WebSocketBridge<Ingress, Egress>> for HARWebSocketService<Inner>where
Inner: Service<WebSocketBridge<HARWebSocket<Ingress>, HARWebSocket<Egress>>>,
Ingress: WebSocketIo,
Egress: WebSocketIo,
Source§type Output = <Inner as Service<WebSocketBridge<HARWebSocket<Ingress>, HARWebSocket<Egress>>>>::Output
type Output = <Inner as Service<WebSocketBridge<HARWebSocket<Ingress>, HARWebSocket<Egress>>>>::Output
The type of the output returned by the service.
Source§type Error = <Inner as Service<WebSocketBridge<HARWebSocket<Ingress>, HARWebSocket<Egress>>>>::Error
type Error = <Inner as Service<WebSocketBridge<HARWebSocket<Ingress>, HARWebSocket<Egress>>>>::Error
The type of error returned by the service.
Auto Trait Implementations§
impl<S> Freeze for HARWebSocketService<S>where
S: Freeze,
impl<S> RefUnwindSafe for HARWebSocketService<S>where
S: RefUnwindSafe,
impl<S> Send for HARWebSocketService<S>where
S: Send,
impl<S> Sync for HARWebSocketService<S>where
S: Sync,
impl<S> Unpin for HARWebSocketService<S>where
S: Unpin,
impl<S> UnsafeUnpin for HARWebSocketService<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for HARWebSocketService<S>where
S: 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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<S, Input, Connection> ConnectorService<Input> for Swhere
S: Service<Input, Output = EstablishedClientConnection<Connection, Input>>,
<S as Service<Input>>::Error: Into<ConnectionError>,
Connection: Send + ExtensionsRef,
impl<S, Input, Connection> ConnectorService<Input> for Swhere
S: Service<Input, Output = EstablishedClientConnection<Connection, Input>>,
<S as Service<Input>>::Error: Into<ConnectionError>,
Connection: Send + ExtensionsRef,
Source§type Connection = Connection
type Connection = Connection
Connection returned by the
ConnectorServiceSource§fn connect(
&self,
input: Input,
) -> impl Future<Output = Result<EstablishedClientConnection<<S as ConnectorService<Input>>::Connection, Input>, ConnectionError>> + Send
fn connect( &self, input: Input, ) -> impl Future<Output = Result<EstablishedClientConnection<<S as ConnectorService<Input>>::Connection, Input>, ConnectionError>> + Send
Establish a connection, which often involves some kind of handshake,
or connection revival. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T, U> RamaTryFrom<T> for Uwhere
U: TryFrom<T>,
impl<T, U> RamaTryFrom<T> for Uwhere
U: TryFrom<T>,
Source§impl<T, U, CrateMarker> RamaTryInto<U, CrateMarker> for Twhere
U: RamaTryFrom<T, CrateMarker>,
impl<T, U, CrateMarker> RamaTryInto<U, CrateMarker> for Twhere
U: RamaTryFrom<T, CrateMarker>,
type Error = <U as RamaTryFrom<T, CrateMarker>>::Error
fn rama_try_into(self) -> Result<U, <U as RamaTryFrom<T, CrateMarker>>::Error>
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<V, F> ValueFormatter<&V> for F
impl<V, F> ValueFormatter<&V> for F
Source§const SHAPE: FieldShape<'static>
const SHAPE: FieldShape<'static>
Available on non-
metrique_require_explicit_impls only.The shape of values produced by this formatter. Read more
Source§fn format_value(writer: impl ValueWriter, value: &&V)
fn format_value(writer: impl ValueWriter, value: &&V)
Write
value to writerSource§impl<V, F> ValueFormatter<Arc<V>> for F
impl<V, F> ValueFormatter<Arc<V>> for F
Source§const SHAPE: FieldShape<'static>
const SHAPE: FieldShape<'static>
Available on non-
metrique_require_explicit_impls only.The shape of values produced by this formatter. Read more
Source§fn format_value(writer: impl ValueWriter, value: &Arc<V>)
fn format_value(writer: impl ValueWriter, value: &Arc<V>)
Write
value to writerSource§impl<V, F> ValueFormatter<Box<V>> for F
impl<V, F> ValueFormatter<Box<V>> for F
Source§const SHAPE: FieldShape<'static>
const SHAPE: FieldShape<'static>
Available on non-
metrique_require_explicit_impls only.The shape of values produced by this formatter. Read more
Source§fn format_value(writer: impl ValueWriter, value: &Box<V>)
fn format_value(writer: impl ValueWriter, value: &Box<V>)
Write
value to writerSource§impl<V, F> ValueFormatter<Cow<'_, V>> for F
impl<V, F> ValueFormatter<Cow<'_, V>> for F
Source§const SHAPE: FieldShape<'static>
const SHAPE: FieldShape<'static>
Available on non-
metrique_require_explicit_impls only.The shape of values produced by this formatter. Read more
Source§fn format_value(writer: impl ValueWriter, value: &Cow<'_, V>)
fn format_value(writer: impl ValueWriter, value: &Cow<'_, V>)
Write
value to writerSource§impl<V, F> ValueFormatter<Option<V>> for Fwhere
F: ValueFormatter<V> + ?Sized,
impl<V, F> ValueFormatter<Option<V>> for Fwhere
F: ValueFormatter<V> + ?Sized,
Source§const SHAPE: FieldShape<'static>
const SHAPE: FieldShape<'static>
Available on non-
metrique_require_explicit_impls only.The shape of values produced by this formatter. Read more
Source§fn format_value(writer: impl ValueWriter, value: &Option<V>)
fn format_value(writer: impl ValueWriter, value: &Option<V>)
Write
value to writer