pub enum PoseidonSyscallError {
InvalidParameters,
InvalidEndianness,
InvalidNumberOfInputs,
EmptyInput,
InvalidInputLength,
BytesToPrimeFieldElement,
InputLargerThanModulus,
VecToArray,
U64Tou8,
BytesToBigInt,
InvalidWidthCircom,
Unexpected,
}Variantsยง
InvalidParameters
InvalidEndianness
InvalidNumberOfInputs
EmptyInput
InvalidInputLength
BytesToPrimeFieldElement
InputLargerThanModulus
VecToArray
U64Tou8
BytesToBigInt
InvalidWidthCircom
Unexpected
Trait Implementationsยง
Sourceยงimpl Debug for PoseidonSyscallError
impl Debug for PoseidonSyscallError
Sourceยงimpl Display for PoseidonSyscallError
impl Display for PoseidonSyscallError
Sourceยงimpl Error for PoseidonSyscallError
impl Error for PoseidonSyscallError
1.30.0 ยท Sourceยงfn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 ยท Sourceยงfn description(&self) -> &str
fn description(&self) -> &str
๐Deprecated since 1.42.0: use the Display impl or to_string()
Sourceยงimpl From<PoseidonError> for PoseidonSyscallError
impl From<PoseidonError> for PoseidonSyscallError
Sourceยงfn from(error: PoseidonError) -> PoseidonSyscallError
fn from(error: PoseidonError) -> PoseidonSyscallError
Converts to this type from the input type.
Sourceยงimpl From<u64> for PoseidonSyscallError
impl From<u64> for PoseidonSyscallError
Sourceยงfn from(error: u64) -> PoseidonSyscallError
fn from(error: u64) -> PoseidonSyscallError
Converts to this type from the input type.
Auto Trait Implementationsยง
impl Freeze for PoseidonSyscallError
impl RefUnwindSafe for PoseidonSyscallError
impl Send for PoseidonSyscallError
impl Sync for PoseidonSyscallError
impl Unpin for PoseidonSyscallError
impl UnwindSafe for PoseidonSyscallError
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Sourceยงimpl<T> Instrument for T
impl<T> Instrument for T
Sourceยงfn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Sourceยงfn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงimpl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Sourceยงfn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Sourceยงimpl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Sourceยงfn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.Sourceยงimpl<T> Pointable for T
impl<T> Pointable for T
Sourceยงimpl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
Sourceยงfn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
Sourceยงimpl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
Sourceยงfn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.