Crate ft_sys_shared

Source
Expand description

This crate is part of ft-sdk and provides the system-level functionality. This crate should not be used directly, and ft-sdk should be used.

Structs§

Email
add an email to the offline email queue, so that the email can be sent later. these emails get picked up by the email worker.
EmailAddress
EmailHandle
[ft_sdk::send_mail()] returns an EmailHandle, which can be used to cancel the email during the web request. this is useful in case you want to do a cleanup in case a transaction fails, etc.
RenderedEmail
Request
Request acts as both a request and a response, and is only used for the communication between guest and host. It is not exposed via ft-sdk.
UserData

Enums§

CancelEmailError
DatabaseErrorKind
DbError
DecryptionError
DecryptionError is returned as error when ft_sdk::decrypt fails.
EmailContent
The content of the email to send. Most fastn apps should prefer EmailContent::FromMKind as that allows end users of the fastn app to configure the email easily. The EmailContent::Rendered variant is allowed if you want to generate emails though some other mechanism.
SendEmailError
SqliteRawValue
SqliteType
Determines how a bind parameter is given to SQLite

Constants§

SESSION_KEY
TRACKER_KEY