[−][src]Struct gdb_protocol::io::GdbServer
Fields
reader: R
writer: W
Methods
impl GdbServer<BufReader<TcpStream>, TcpStream>
[src]
pub fn listen<A>(addr: A) -> Result<Self, Error> where
A: ToSocketAddrs,
[src]
A: ToSocketAddrs,
impl<'a> GdbServer<&'a mut &'a [u8], Vec<u8>>
[src]
impl<R, W> GdbServer<R, W> where
R: BufRead,
W: Write,
[src]
R: BufRead,
W: Write,
pub fn new(reader: R, writer: W) -> Self
[src]
pub fn next_packet(&mut self) -> Result<Option<CheckedPacket>, Error>
[src]
pub fn dispatch(&mut self, packet: &CheckedPacket) -> Result<(), Error>
[src]
Sends a packet, retrying upon any failed checksum verification on the remote.
Auto Trait Implementations
impl<R, W> Unpin for GdbServer<R, W> where
R: Unpin,
W: Unpin,
R: Unpin,
W: Unpin,
impl<R, W> Send for GdbServer<R, W> where
R: Send,
W: Send,
R: Send,
W: Send,
impl<R, W> Sync for GdbServer<R, W> where
R: Sync,
W: Sync,
R: Sync,
W: Sync,
impl<R, W> RefUnwindSafe for GdbServer<R, W> where
R: RefUnwindSafe,
W: RefUnwindSafe,
R: RefUnwindSafe,
W: RefUnwindSafe,
impl<R, W> UnwindSafe for GdbServer<R, W> where
R: UnwindSafe,
W: UnwindSafe,
R: UnwindSafe,
W: UnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,