pub struct LocalEnd<Out, In> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl ClientMessageTransport for LocalEnd<ClientCommand, ServerMessage>
impl ClientMessageTransport for LocalEnd<ClientCommand, ServerMessage>
async fn send(&mut self, command: ClientCommand) -> Result<(), ClientError>
async fn recv(&mut self) -> Result<ServerMessage, ClientError>
async fn close(&mut self)
Auto Trait Implementations§
impl<Out, In> !Unpin for LocalEnd<Out, In>
impl<Out, In> !UnsafeUnpin for LocalEnd<Out, In>
impl<Out, In> Freeze for LocalEnd<Out, In>
impl<Out, In> RefUnwindSafe for LocalEnd<Out, In>
impl<Out, In> Send for LocalEnd<Out, In>
impl<Out, In> Sync for LocalEnd<Out, In>
impl<Out, In> UnwindSafe for LocalEnd<Out, In>
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