Crate ttftp

Source
Expand description

§a (Tremendously) Trivial File Transfer Protocol implementation

A sans-io, no-std, no-alloc TFTP implementation as according to RFC 1350.

Currently, this crate implements only a client and does not support options.

Modules§

client
The TFTP client implementation.

Structs§

TooLongError
An Error indicating that a sequence of data exceeds some maximum length.
UnknownErrorCode
An Error that can occur when creating an ErrorCode from a u16.
UnknownMode
An Error that can occur when parsing a Mode from a CStr.

Enums§

ErrorCode
A TFTP error code.
Mode
The file transfer mode.

Constants§

BLOCK_SIZE
The size of a payload data block.
PACKET_SIZE
The (maximum) size of a TFTP packet.
UNKNOWN_TID_PACKET
The response to a packet with an unknown transfer ID.