[][src]Struct dbcrossbarlib::SourceArguments

pub struct SourceArguments<ArgumentState> { /* fields omitted */ }

Data source arguments.

Implementations

impl SourceArguments<Unverified>[src]

pub fn new(driver_args: DriverArguments, where_clause: Option<String>) -> Self[src]

Construct a new SourceArguments.

pub fn for_temporary() -> Self[src]

Construct a new SourceArguments with typical values for a temporary storage location.

pub fn verify(self, features: Features) -> Result<SourceArguments<Verified>>[src]

Verify that this structure only contains supported arguments. This uses the type state pattern to keep track of whether our arguments have been verified to be supported.

impl SourceArguments<Verified>[src]

pub fn driver_args(&self) -> &DriverArguments[src]

Driver-specific arguments for our data source.

pub fn where_clause(&self) -> Option<&str>[src]

A WHERE clause for this query.

Trait Implementations

impl<ArgumentState: Clone> Clone for SourceArguments<ArgumentState>[src]

impl<ArgumentState: Debug> Debug for SourceArguments<ArgumentState>[src]

impl<ArgumentState: Default> Default for SourceArguments<ArgumentState>[src]

Auto Trait Implementations

impl<ArgumentState> RefUnwindSafe for SourceArguments<ArgumentState> where
    ArgumentState: RefUnwindSafe

impl<ArgumentState> Send for SourceArguments<ArgumentState> where
    ArgumentState: Send

impl<ArgumentState> Sync for SourceArguments<ArgumentState> where
    ArgumentState: Sync

impl<ArgumentState> Unpin for SourceArguments<ArgumentState> where
    ArgumentState: Unpin

impl<ArgumentState> UnwindSafe for SourceArguments<ArgumentState> where
    ArgumentState: 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> Same<T> for T

type Output = T

Should always be Self

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,