fn saved<T>(
entity: impl FnOnce() -> Option<EntityRef>,
result: ModelResult<T>,
) -> Result<T, WriteStop>Expand description
result of saving entity, with a save path’s refusal of what was staged as
PublishRejection::SaveFailed.
fn saved<T>(
entity: impl FnOnce() -> Option<EntityRef>,
result: ModelResult<T>,
) -> Result<T, WriteStop>result of saving entity, with a save path’s refusal of what was staged as
PublishRejection::SaveFailed.