pub struct Closeable;
Expand description
The type corresponding to the Closeable protocol. Provides a means of synchronously closing a connection.
Trait Implementations§
Source§impl ClientCompatFrom<CloseableProxy> for Closeable
impl ClientCompatFrom<CloseableProxy> for Closeable
Source§fn client_compat_from(proxy: CloseableProxy) -> ClientDispatcher<Self, Channel>
fn client_compat_from(proxy: CloseableProxy) -> ClientDispatcher<Self, Channel>
Converts
proxy
into a Client
for this protocol.Source§impl CompatFrom<Closeable> for CloseableMarker
impl CompatFrom<Closeable> for CloseableMarker
Source§fn compat_from(_: Closeable) -> Self
fn compat_from(_: Closeable) -> Self
Converts
value
into a value of this type.Source§impl CompatFrom<CloseableMarker> for Closeable
impl CompatFrom<CloseableMarker> for Closeable
Source§fn compat_from(_: CloseableMarker) -> Self
fn compat_from(_: CloseableMarker) -> Self
Converts
value
into a value of this type.Source§impl<___H, ___T> DispatchClientMessage<___H, ___T> for Closeablewhere
___H: CloseableClientHandler<___T> + Send,
___T: Transport,
<Close as Method>::Response: Decode<<___T as Transport>::RecvBuffer>,
impl<___H, ___T> DispatchClientMessage<___H, ___T> for Closeablewhere
___H: CloseableClientHandler<___T> + Send,
___T: Transport,
<Close as Method>::Response: Decode<<___T as Transport>::RecvBuffer>,
Source§impl<___H, ___T> DispatchServerMessage<___H, ___T> for Closeablewhere
___H: CloseableServerHandler<___T> + Send,
___T: Transport,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for Closeablewhere
___H: CloseableServerHandler<___T> + Send,
___T: Transport,
impl StructuralPartialEq for Closeable
Auto Trait Implementations§
impl Freeze for Closeable
impl RefUnwindSafe for Closeable
impl Send for Closeable
impl Sync for Closeable
impl Unpin for Closeable
impl UnwindSafe for Closeable
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, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T
to [Self
]