[][src]Struct canonical_host::Query

pub struct Query<A, R> { /* fields omitted */ }

Represents the type of a query

Implementations

impl<A, R> Query<A, R>[src]

pub fn new(args: A) -> Self[src]

Construct a new query with provided arguments

pub fn args(&self) -> &A[src]

Returns a reference to the arguments of a query

Trait Implementations

impl<A: Debug, R: Debug> Debug for Query<A, R>[src]

Auto Trait Implementations

impl<A, R> RefUnwindSafe for Query<A, R> where
    A: RefUnwindSafe,
    R: RefUnwindSafe

impl<A, R> Send for Query<A, R> where
    A: Send,
    R: Send

impl<A, R> Sync for Query<A, R> where
    A: Sync,
    R: Sync

impl<A, R> Unpin for Query<A, R> where
    A: Unpin,
    R: Unpin

impl<A, R> UnwindSafe for Query<A, R> where
    A: UnwindSafe,
    R: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.