Skip to main content

ClosureResult

Type Alias ClosureResult 

Source
pub type ClosureResult<'requirements, 'view, 'certificate, 'document, N, D, G, I> = Result<ParticipantClosure<'requirements, 'view, 'certificate, 'document, N, D, G, I>, ParticipantClosureError<N>>;
Expand description

The closure of one census, or the refusal to close it.

Aliased Type§

pub enum ClosureResult<'requirements, 'view, 'certificate, 'document, N, D, G, I> {
    Ok(ParticipantClosure<'requirements, 'view, 'certificate, 'document, N, D, G, I>),
    Err(ParticipantClosureError<N>),
}

Variants§

§1.0.0

Ok(ParticipantClosure<'requirements, 'view, 'certificate, 'document, N, D, G, I>)

Contains the success value

§1.0.0

Err(ParticipantClosureError<N>)

Contains the error value