Struct dbcrossbarlib::DestinationArguments
source · pub struct DestinationArguments<ArgumentState> { /* private fields */ }
Expand description
Data destination arguments.
Implementations
sourceimpl DestinationArguments<Unverified>
impl DestinationArguments<Unverified>
sourcepub fn new(driver_args: DriverArguments, if_exists: IfExists) -> Self
pub fn new(driver_args: DriverArguments, if_exists: IfExists) -> Self
Construct a new DestinationArguments
.
sourcepub fn for_temporary() -> Self
pub fn for_temporary() -> Self
Construct a new DestinationArguments
with typical values for a
temporary storage location.
sourcepub fn verify(self, features: Features) -> Result<DestinationArguments<Verified>>
pub fn verify(self, features: Features) -> Result<DestinationArguments<Verified>>
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.
sourceimpl DestinationArguments<Verified>
impl DestinationArguments<Verified>
sourcepub fn driver_args(&self) -> &DriverArguments
pub fn driver_args(&self) -> &DriverArguments
Driver-specific arguments for our data destination.
Trait Implementations
sourceimpl<ArgumentState: Clone> Clone for DestinationArguments<ArgumentState>
impl<ArgumentState: Clone> Clone for DestinationArguments<ArgumentState>
sourcefn clone(&self) -> DestinationArguments<ArgumentState>
fn clone(&self) -> DestinationArguments<ArgumentState>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<ArgumentState: Debug> Debug for DestinationArguments<ArgumentState>
impl<ArgumentState: Debug> Debug for DestinationArguments<ArgumentState>
sourceimpl<ArgumentState: Default> Default for DestinationArguments<ArgumentState>
impl<ArgumentState: Default> Default for DestinationArguments<ArgumentState>
sourcefn default() -> DestinationArguments<ArgumentState>
fn default() -> DestinationArguments<ArgumentState>
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<ArgumentState> RefUnwindSafe for DestinationArguments<ArgumentState>where
ArgumentState: RefUnwindSafe,
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,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more