[][src]Enum gdbstub::GdbStubError

pub enum GdbStubError<T, C> {
    ConnectionRead(C),
    ConnectionWrite(ResponseWriterError<C>),
    MissingPacketBuffer,
    PacketBufferOverlow,
    PacketParse,
    PacketUnexpected,
    TargetError(T),
    MissingSetCurrentTid,
}

Errors which may occur during a GDB debugging session.

Variants

ConnectionRead(C)

Connection Error while reading request.

ConnectionWrite(ResponseWriterError<C>)

Connection Error while writing response.

MissingPacketBuffer

GdbStub was not provided with a packet buffer in no_std mode (missing call to with_packet_buffer)

PacketBufferOverlow

Packet cannot fit in the provided packet buffer.

PacketParse

Could not parse the packet into a valid command.

PacketUnexpected

GDB client sent an unexpected packet.

TargetError(T)

Target threw a fatal error.

MissingSetCurrentTid

Target doesn't implement set_current_thread, but reported multiple threads.

Trait Implementations

impl<T: Clone, C: Clone> Clone for GdbStubError<T, C>[src]

impl<T: Debug, C: Debug> Debug for GdbStubError<T, C>[src]

impl<T, C> Display for GdbStubError<T, C> where
    C: Debug,
    T: Debug
[src]

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

Auto Trait Implementations

impl<T, C> RefUnwindSafe for GdbStubError<T, C> where
    C: RefUnwindSafe,
    T: RefUnwindSafe

impl<T, C> Send for GdbStubError<T, C> where
    C: Send,
    T: Send

impl<T, C> Sync for GdbStubError<T, C> where
    C: Sync,
    T: Sync

impl<T, C> Unpin for GdbStubError<T, C> where
    C: Unpin,
    T: Unpin

impl<T, C> UnwindSafe for GdbStubError<T, C> where
    C: UnwindSafe,
    T: UnwindSafe

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.