Skip to main content

RepoWriteError

Type Alias RepoWriteError 

Source
pub type RepoWriteError<C> = Fail<C, Profile<{ false }, { true }, { true }>>;
Expand description

Repository write failures, with C carrying the typed constraint violation. Writes may reject, fail transiently, or fail fatally, but cannot deny.

Aliased Type§

pub enum RepoWriteError<C> {
    Rejected(C),
    Denied(!),
    Transient(Transient),
    Fatal(Fatal),
}

Variants§

§

Rejected(C)

§

Denied(!)

§

Transient(Transient)

§

Fatal(Fatal)

Trait Implementations§

Source§

impl<ChildCv, ParentCv> LiftNestedWrite<ParentCv> for RepoWriteError<ChildCv>
where ChildCv: Rejection, ParentCv: Rejection + Lift<ChildCv>, <ParentCv as Lift<ChildCv>>::Unmapped: UnmappedInto<Fatal>,

Source§

type Out = Fail<ParentCv, Profile<false, true, true>>

Source§

fn lift_nested(self) -> RepoWriteError<ParentCv>