Struct cosmwasm_std::QuerierWrapper[][src]

pub struct QuerierWrapper<'a, C: CustomQuery = Empty> { /* fields omitted */ }

Implementations

Makes the query and parses the response.

Any error (System Error, Error or called contract, or Parse Error) are flattened into one level. Only use this if you don’t need to check the SystemError eg. If you don’t differentiate between contract missing and contract returned error

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

This allows us to use self.raw_query to access the querier. It also allows external callers to access the querier easily.

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.