charon-0.1: Template
Safe HaskellSafe-Inferred
LanguageGHC2021

Charon.Backend.Data

Description

Provides the Backend data type.

Synopsis

Documentation

data Backend Source #

Type of backend.

Constructors

BackendCbor

For use with the cbor backend.

BackendFdo

For use with the FreeDesktopOrg backend.

BackendJson

For use with the json backend.

Instances

Instances details
Bounded Backend Source # 
Instance details

Defined in Charon.Backend.Data

Enum Backend Source # 
Instance details

Defined in Charon.Backend.Data

Show Backend Source # 
Instance details

Defined in Charon.Backend.Data

Eq Backend Source # 
Instance details

Defined in Charon.Backend.Data

Methods

(==) :: Backend -> Backend -> Bool #

(/=) :: Backend -> Backend -> Bool #

DecodeTOML Backend Source # 
Instance details

Defined in Charon.Backend.Data

parseBackend :: MonadFail m => Text -> m Backend Source #

Parses a PathDataBackend.