Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/altugbakan/rs-tftpd
/ types & classes
Types & classes
22 in github.com/altugbakan/rs-tftpd
⨍
Functions
174
◇
Types & classes
22
Class
Client
Client `struct` is used for client sided TFTP requests. This `struct` is meant to be created by [`Client::new()`]. See its documentation for more. #
src/client.rs:29
Class
ClientConfig
src/client_config.rs:31
Class
CommandRunner
tests/integration_test.rs:12
Class
Config
Configuration `struct` used for parsing TFTP options from user input. This `struct` is meant to be created by [`Config::new()`]. See its documentatio
src/config.rs:27
Class
Convert
Allows conversions between byte arrays and other types. # Example ```rust use tftpd::Convert; assert_eq!(Convert::to_u16(&[0x01, 0x02]).unwrap(), 0
src/convert.rs:16
Enum
ErrorCode
src/packet.rs:164
Enum
Mode
src/client.rs:43
Enum
Opcode
src/packet.rs:114
Class
OptionFmt
src/options.rs:248
Enum
OptionType
src/options.rs:275
Class
OptionsPrivate
src/options.rs:32
Class
OptionsProtocol
src/options.rs:60
Enum
Packet
src/packet.rs:22
Enum
RequestType
src/server.rs:309
Enum
Rollover
src/options.rs:17
Class
Server
Server `struct` is used for handling incoming TFTP requests. This `struct` is meant to be created by [`Server::new()`]. See its documentation for mor
src/server.rs:34
Class
ServerSocket
ServerSocket `struct` is used as an abstraction layer for a server [`Socket`]. This `struct` is used for abstraction of single socket communication.
src/socket.rs:127
Interface
Socket
Socket `trait` is used to allow building custom sockets to be used for TFTP communication.
src/socket.rs:17
Class
TransferOption
src/options.rs:226
Class
WindowRead
WindowRead `struct` is used to store chunks of data from a file. It is used to help store the data that is being sent for the [RFC 7440](https://www.r
src/window.rs:26
Class
WindowWrite
WindowWrite `struct` is used to store data and write them in a file. It is used to help store the data that is being received for the [RFC 7440](https
src/window.rs:110
Class
Worker
Worker `struct` is used for multithreaded file sending and receiving. It creates a new socket using the Server's IP and a random port requested from t
src/worker.rs:49