pub struct ClientHost { /* private fields */ }Expand description
Protocol handler for cloud-to-endpoint connections.
Implementations§
Trait Implementations§
Source§impl Debug for ClientHost
impl Debug for ClientHost
Source§impl ProtocolHandler for ClientHost
impl ProtocolHandler for ClientHost
Source§async fn accept(&self, connection: Connection) -> Result<(), AcceptError>
async fn accept(&self, connection: Connection) -> Result<(), AcceptError>
Handle an incoming connection. Read more
Source§fn on_accepting(
&self,
accepting: Accepting,
) -> impl Future<Output = Result<Connection, AcceptError>> + Send
fn on_accepting( &self, accepting: Accepting, ) -> impl Future<Output = Result<Connection, AcceptError>> + Send
Optional interception point to handle the
Accepting state. Read moreAuto Trait Implementations§
impl Freeze for ClientHost
impl !RefUnwindSafe for ClientHost
impl Send for ClientHost
impl Sync for ClientHost
impl Unpin for ClientHost
impl UnsafeUnpin for ClientHost
impl !UnwindSafe for ClientHost
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