Type Alias PublishOutcome

Source
type PublishOutcome<R> = Result<Record<R>, Label>;
Expand description

The outcome of an attempt to publish a single atom.

This is either a Record for a successful publication or an Label if the atom was safely skipped.

Aliased Type§

enum PublishOutcome<R> {
    Ok(Record<R>),
    Err(Label),
}

Variants§

§1.0.0

Ok(Record<R>)

Contains the success value

§1.0.0

Err(Label)

Contains the error value