pub type FieldSaveResult = SaveResult<SavedData, SavedData>;
Expand description
Shorthand result for methods that return FieldData
s.
The MultipartData
is not provided here because it is not necessary to return
a borrow when the owned version is probably in the same scope. This hopefully
saves some headache with the borrow-checker.
Aliased Type§
enum FieldSaveResult {
Full(SavedData),
Partial(SavedData, PartialReason),
Error(Error),
}