[][src]Crate p2p_file_sharing_enum_commands

This library contains common command and response types for client and daemon for their communication.

Enums

CommandType

Depending on which command the client enters into the console, its type will be determined, the command will be serialized and then sent to the daemon.

ResponseType

The response from the daemon comes in a serialized form and deserialize, it is reduced to the type of response to which the request was sent from the client.

Constants

PORT

Connection port for the daemon and the client

Type Definitions

LsResponseType

Pair of containers for response from ls command

StatusResponseType

Pair of pair of containers for response from status command