[][src]Struct dbcrossbarlib::DestinationArguments

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

Data destination arguments.

Methods

impl DestinationArguments<Unverified>[src]

pub fn new(driver_args: DriverArguments, if_exists: IfExists) -> Self[src]

Construct a new DestinationArguments.

pub fn for_temporary() -> Self[src]

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

pub fn verify(
    self,
    features: Features
) -> Result<DestinationArguments<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 DestinationArguments<Verified>[src]

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

Driver-specific arguments for our data destination.

pub fn if_exists(&self) -> &IfExists[src]

What to do it the destination already exists.

Trait Implementations

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

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

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

Auto Trait Implementations

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

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

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

impl<ArgumentState> UnwindSafe for DestinationArguments<ArgumentState> where
    ArgumentState: UnwindSafe

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

Blanket Implementations

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

impl<T> From<T> for T[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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> IntoSql for T[src]

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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