Crate dusa_common

Source

Modules§

prefix

Structs§

DecryptResponseData
DusaError
Struct representing an error message.
Message
Generic message struct used for communication.
RequestRecsPlainText
Struct representing a plain text request.
RequestRecsSimple
Struct representing a simple request.
RequestRecsWrite
Struct representing a write request.
ResponseData
Struct representing a response.

Enums§

Commands
enums for commands
ErrorCode
Enum representing different error codes.
MessageType
Enum representing different message types.
RequestPayload
Enum representing different request payloads.

Constants§

TTL
Time to live in seconds for file that are decrypted.
VERSION
Current version of the protocol, derived from the package version.

Functions§

SOCKET_PATH
Returns the path to the socket.
check_version
get_id
Getting the current uid
set_file_ownership
set_socket_permission