[−][src]Struct kayrx::jrpc::transport::local::LocalTransportServer
RawServer connected to a LocalTransportClient
. Can be created using local_transport
.
Trait Implementations
impl Debug for LocalTransportServer
[src]
impl TransportServer for LocalTransportServer
[src]
type RequestId = u64
Identifier for a request in the context of this server.
fn next_request<'a>(
&'a mut self
) -> Pin<Box<dyn Future<Output = TransportServerEvent<Self::RequestId>> + Send + 'a>>
[src]
&'a mut self
) -> Pin<Box<dyn Future<Output = TransportServerEvent<Self::RequestId>> + Send + 'a>>
fn finish<'a>(
&'a mut self,
request_id: &'a Self::RequestId,
response: Option<&'a Response>
) -> Pin<Box<dyn Future<Output = Result<(), ()>> + Send + 'a>>
[src]
&'a mut self,
request_id: &'a Self::RequestId,
response: Option<&'a Response>
) -> Pin<Box<dyn Future<Output = Result<(), ()>> + Send + 'a>>
fn supports_resuming(&self, request_id: &Self::RequestId) -> Result<bool, ()>
[src]
fn send<'a>(
&'a mut self,
request_id: &'a Self::RequestId,
response: &'a Response
) -> Pin<Box<dyn Future<Output = Result<(), ()>> + Send + 'a>>
[src]
&'a mut self,
request_id: &'a Self::RequestId,
response: &'a Response
) -> Pin<Box<dyn Future<Output = Result<(), ()>> + Send + 'a>>
Auto Trait Implementations
impl !RefUnwindSafe for LocalTransportServer
impl Send for LocalTransportServer
impl Sync for LocalTransportServer
impl Unpin for LocalTransportServer
impl !UnwindSafe for LocalTransportServer
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,