pub trait TryFromReceiptResponse<N>where
N: Network,{
type Error: Error + Send + Sync + Unpin;
// Required method
fn from_receipt_response(
receipt_response: <N as Network>::ReceiptResponse,
) -> Result<Self, Self::Error>
where Self: Sized;
}Expand description
Trait for converting network receipt responses to primitive receipt types.
Required Associated Types§
Required Methods§
Implementations on Foreign Types§
Source§impl TryFromReceiptResponse<Ethereum> for EthereumReceipt
impl TryFromReceiptResponse<Ethereum> for EthereumReceipt
type Error = Infallible
fn from_receipt_response( receipt_response: TransactionReceipt, ) -> Result<EthereumReceipt, <EthereumReceipt as TryFromReceiptResponse<Ethereum>>::Error>
Source§impl TryFromReceiptResponse<Optimism> for OpReceipt
Available on crate feature op only.
impl TryFromReceiptResponse<Optimism> for OpReceipt
Available on crate feature
op only.