pub struct GdbStubBuilder<'a, T: Target, C: Connection> { /* private fields */ }
Expand description

Helper to construct and customize GdbStub.

Implementations

Create a new GdbStubBuilder using the provided Connection.

Use a pre-allocated packet buffer (instead of heap-allocating).

Note: This method is required when the alloc feature is disabled!

Specify a custom size for the packet buffer. Defaults to 4096 bytes.

When used alongside with_packet_buffer, the provided size must be less than or equal to the length of the packet buffer.

Build the GdbStub, returning an error if something went wrong.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.