Module pueue_lib::network::message[][src]

Expand description

This contains the main Message enum and all its structs used to communicate with the daemon or client.

Structs

AddMessage
CleanMessage
EditMessage
EditResponseMessage
EnqueueMessage
GroupMessage
GroupResponseMessage
KillMessage
LogRequestMessage

Request logs for specific tasks.

ParallelMessage
PauseMessage
ResetMessage
RestartMessage
SendMessage
StartMessage
StreamRequestMessage

err decides, whether you should stream stderr or stdout.

SwitchMessage
TaskLogMessage

Helper struct for sending tasks and their log output to the client.

TasksToRestart

Enums

Message

This is the main message enum.
Everything that’s communicated in Pueue can be serialized as this enum.

Signal

This is a small custom Enum for all currently supported unix signals. Supporting all unix signals would be a mess, since there is a LOT of them.

Functions

create_failure_message
create_success_message