Struct quic_rpc::transport::misc::DummyServerEndpoint
source · pub struct DummyServerEndpoint;
Expand description
A dummy server endpoint that does nothing
This can be useful as a default if you want to configure an optional server endpoint.
Trait Implementations§
source§impl Clone for DummyServerEndpoint
impl Clone for DummyServerEndpoint
source§fn clone(&self) -> DummyServerEndpoint
fn clone(&self) -> DummyServerEndpoint
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<In: RpcMessage, Out: RpcMessage> ConnectionCommon<In, Out> for DummyServerEndpoint
impl<In: RpcMessage, Out: RpcMessage> ConnectionCommon<In, Out> for DummyServerEndpoint
source§type RecvStream = Pending<Result<In, <DummyServerEndpoint as ConnectionErrors>::RecvError>>
type RecvStream = Pending<Result<In, <DummyServerEndpoint as ConnectionErrors>::RecvError>>
Receive side of a bidirectional typed channel
source§impl ConnectionErrors for DummyServerEndpoint
impl ConnectionErrors for DummyServerEndpoint
source§type OpenError = Infallible
type OpenError = Infallible
Error when opening or accepting a channel
source§type RecvError = Infallible
type RecvError = Infallible
Error when receiving a message via a channel
source§type SendError = Infallible
type SendError = Infallible
Error when sending a message via a channel
source§impl Debug for DummyServerEndpoint
impl Debug for DummyServerEndpoint
source§impl Default for DummyServerEndpoint
impl Default for DummyServerEndpoint
source§fn default() -> DummyServerEndpoint
fn default() -> DummyServerEndpoint
Returns the “default value” for a type. Read more
source§impl<In: RpcMessage, Out: RpcMessage> ServerEndpoint<In, Out> for DummyServerEndpoint
impl<In: RpcMessage, Out: RpcMessage> ServerEndpoint<In, Out> for DummyServerEndpoint
Auto Trait Implementations§
impl Freeze for DummyServerEndpoint
impl RefUnwindSafe for DummyServerEndpoint
impl Send for DummyServerEndpoint
impl Sync for DummyServerEndpoint
impl Unpin for DummyServerEndpoint
impl UnwindSafe for DummyServerEndpoint
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)