Enum hdk::prelude::CounterSigningError
source · [−]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
AgentIndexOutOfBounds
Agent index is out of bounds for the signing session.
MissingResponse
An empty vector was used to build session data.
CounterSigningSessionResponsesLength(usize, usize)
Session responses needs to be same length as the signing agents.
CounterSigningSessionResponsesOrder(u8, usize)
Session response agents all need to be in the correct positions.
EnzymeIndex(usize, usize)
Enzyme index must be one of the signers if set.
AgentsLength(usize)
Agents length cannot be longer than max or less than min.
AgentsDupes(Vec<HoloHash<Agent>, Global>)
There cannot be duplicates in the agents list.
CounterSigningSessionTimes(CounterSigningSessionTimes)
The session times must validate.
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
Mutably borrows from an owned value. Read more
fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
where
S: Into<Dispatch>,
Notable traits for WithDispatch<T>
impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
fn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
fn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
Notable traits for WithDispatch<T>
impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more