pub struct GdbRemoteClient<S> { /* private fields */ }Implementations§
Source§impl<S> GdbRemoteClient<S>
impl<S> GdbRemoteClient<S>
pub fn new(stream: S) -> Self
pub fn into_inner(self) -> S
pub async fn send(&mut self, payload: &str) -> Result<(), DebugserverError>
pub async fn recv(&mut self) -> Result<String, DebugserverError>
pub async fn request( &mut self, payload: &str, ) -> Result<String, DebugserverError>
Auto Trait Implementations§
impl<S> Freeze for GdbRemoteClient<S>where
S: Freeze,
impl<S> RefUnwindSafe for GdbRemoteClient<S>where
S: RefUnwindSafe,
impl<S> Send for GdbRemoteClient<S>where
S: Send,
impl<S> Sync for GdbRemoteClient<S>where
S: Sync,
impl<S> Unpin for GdbRemoteClient<S>where
S: Unpin,
impl<S> UnsafeUnpin for GdbRemoteClient<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for GdbRemoteClient<S>where
S: UnwindSafe,
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