Enum borgbackup::commands::InitError
source · pub enum InitError {
ShlexError,
CommandFailed(Error),
InvalidBorgOutput(Error),
DeserializeError(Error),
TerminatedBySignal,
RepositoryAlreadyExists,
UnexpectedMessageId(MessageId),
Unknown,
}
Expand description
The possible errors that can get returned from init
Variants§
ShlexError
Error while splitting the arguments
CommandFailed(Error)
The command failed to execute
InvalidBorgOutput(Error)
Invalid borg output found
DeserializeError(Error)
Error while deserializing output of borg
TerminatedBySignal
Borg was terminated by a signal
RepositoryAlreadyExists
The repository already exists
UnexpectedMessageId(MessageId)
An unexpected message id was received
Unknown
Unknown error occurred