[−][src]Trait odbc_api::parameter::Parameter
Implementers of this trait can be used as individual parameters of in a
crate::ParameterCollection
. They can be bound as either input parameters, output parameters
or both.
Required methods
pub unsafe fn bind_parameter(
self,
parameter_number: u16,
stmt: &mut Statement<'_>
) -> Result<(), Error>
[src]
self,
parameter_number: u16,
stmt: &mut Statement<'_>
) -> Result<(), Error>
Implementations on Foreign Types
impl<T> Parameter for &T where
T: InputParameter,
[src]
T: InputParameter,
Bind immutable references as input parameters.
pub unsafe fn bind_parameter(
self,
parameter_number: u16,
stmt: &mut Statement<'_>
) -> Result<(), Error>
[src]
self,
parameter_number: u16,
stmt: &mut Statement<'_>
) -> Result<(), Error>
impl<T> Parameter for &mut T where
T: OutputParameter,
[src]
T: OutputParameter,
Bind mutable references as input/output parameter.
pub unsafe fn bind_parameter(
self,
parameter_number: u16,
stmt: &mut Statement<'_>
) -> Result<(), Error>
[src]
self,
parameter_number: u16,
stmt: &mut Statement<'_>
) -> Result<(), Error>
Implementors
impl<'a, T> Parameter for Out<'a, T> where
T: OutputParameter,
[src]
T: OutputParameter,
Mutable references wrapped in Out
are bound as output parameters.