[][src]Enum gdbstub::Error

pub enum Error<T: Target, C: Connection> {
    ConnectionRead(C::Error),
    ConnectionWrite(ResponseWriterError<C>),
    PacketParse,
    TargetError(T::Error),
}

Errors which may occur during a GDB debugging session.

Variants

ConnectionRead(C::Error)

Connection Error while reading request.

ConnectionWrite(ResponseWriterError<C>)

Connection Error while writing response.

PacketParse

Could not parse the packet into a valid command.

TargetError(T::Error)

Target threw a fatal error.

Trait Implementations

impl<T: Target, C: Connection> Debug for Error<T, C> where
    T::Error: Debug,
    C::Error: Debug
[src]

impl<T: Target, C: Connection> Display for Error<T, C> where
    T::Error: Debug,
    C::Error: Debug
[src]

Auto Trait Implementations

impl<T, C> Send for Error<T, C> where
    <C as Connection>::Error: Send,
    <T as Target>::Error: Send

impl<T, C> Sync for Error<T, C> where
    <C as Connection>::Error: Sync,
    <T as Target>::Error: Sync

impl<T, C> Unpin for Error<T, C> where
    <C as Connection>::Error: Unpin,
    <T as Target>::Error: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.