pub enum QueryBuilderError {
Show 31 variants
FailedToAbiEncode,
FailedToComputeOffsets,
MissMatchedLengthDecoding,
FieldNotPresentInTx,
FieldIsNotStatic,
EventSignatureNameProvidedIsNotValidHex,
FunctionSignatureNameProvidedIsNotValidHex,
AbiProviderNotInitialized,
NoAbiFoundForContract(String),
ContractAbiRetrievalFailed {
contract_addr: String,
error_message: String,
},
FailedToParseAbi(String, String),
FailedToFindEventByNameOrSignature(String),
FailedToDecodeLog(Box<Log>),
AmbigiousEventMatch(String),
FailedToFindRxLogsField,
FailedToFindTxDataField,
MissingLogInAbiOffsets(usize),
MissingDataInAbiOffsets,
TryingToGetSizeOfDynamicType,
FailedToGetEventDataOffsets(Box<Log>),
RequestingFunctionArgumentOfAnEmptyCalldataTransaction,
RequestingFunctionArgumentButNoToAddressPresent,
FailedToFindFunctionByNameOrSignature(String),
AmbigiousFunctionMatch(Vec<Function>),
DataFieldMissingSize,
DataFieldNotLongEnoughForSignatureExtraction,
CannotFindArgumentInFunction(Function, String),
FailedToResolveSolTypesOfMatchedFunction(Function),
FailedToResolveSolTypesOfMatchedEvent(Event),
FailedToComputeOffsetsForCalldata,
MissingDataInCalldataOffsets,
}
Variants§
FailedToAbiEncode
FailedToComputeOffsets
MissMatchedLengthDecoding
FieldNotPresentInTx
FieldIsNotStatic
EventSignatureNameProvidedIsNotValidHex
FunctionSignatureNameProvidedIsNotValidHex
AbiProviderNotInitialized
NoAbiFoundForContract(String)
ContractAbiRetrievalFailed
FailedToParseAbi(String, String)
FailedToFindEventByNameOrSignature(String)
FailedToDecodeLog(Box<Log>)
AmbigiousEventMatch(String)
FailedToFindRxLogsField
FailedToFindTxDataField
MissingLogInAbiOffsets(usize)
MissingDataInAbiOffsets
TryingToGetSizeOfDynamicType
FailedToGetEventDataOffsets(Box<Log>)
RequestingFunctionArgumentOfAnEmptyCalldataTransaction
RequestingFunctionArgumentButNoToAddressPresent
FailedToFindFunctionByNameOrSignature(String)
AmbigiousFunctionMatch(Vec<Function>)
DataFieldMissingSize
DataFieldNotLongEnoughForSignatureExtraction
CannotFindArgumentInFunction(Function, String)
FailedToResolveSolTypesOfMatchedFunction(Function)
FailedToResolveSolTypesOfMatchedEvent(Event)
FailedToComputeOffsetsForCalldata
MissingDataInCalldataOffsets
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QueryBuilderError
impl RefUnwindSafe for QueryBuilderError
impl Send for QueryBuilderError
impl Sync for QueryBuilderError
impl Unpin for QueryBuilderError
impl UnwindSafe for QueryBuilderError
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 more