Enum holochain_types::prelude::CounterSigningError [−][src]
pub enum CounterSigningError {
AgentIndexOutOfBounds,
MissingResponse,
CounterSigningSessionResponsesLength(usize, usize),
CounterSigningSessionResponsesOrder(u8, usize),
EnzymeIndex(usize, usize),
AgentsLength(usize),
AgentsDupes(Vec<HoloHash<Agent>, Global>),
CounterSigningSessionTimes(CounterSigningSessionTimes),
}
Expand description
Errors related to the secure primitive macro.
Variants
Agent index is out of bounds for the signing session.
An empty vector was used to build session data.
Session responses needs to be same length as the signing agents.
Session response agents all need to be in the correct positions.
Enzyme index must be one of the signers if set.
AgentsLength(usize)
Agents length cannot be longer than max or less than min.
Tuple Fields of AgentsLength
0: usize
There cannot be duplicates in the agents list.
CounterSigningSessionTimes(CounterSigningSessionTimes)
The session times must validate.
Tuple Fields of CounterSigningSessionTimes
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CounterSigningError
impl Send for CounterSigningError
impl Sync for CounterSigningError
impl Unpin for CounterSigningError
impl UnwindSafe for CounterSigningError
Blanket Implementations
fn type_id_compat(&self) -> TypeId
fn type_id_compat(&self) -> TypeId
TODO: once 1.33.0 is the minimum supported compiler version, remove Any::type_id_compat and use StdAny::type_id instead. https://github.com/rust-lang/rust/issues/27745 Read more
Mutably borrows from an owned value. Read more
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more