Trait ExecWithParamaters

Source
pub trait ExecWithParamaters {
    // Required method
    fn bind_raw(self, param: Vec<u8>) -> Result<Self>
       where Self: Sized;

    // Provided methods
    fn bind_named_ref<T: Serialize, T1: Into<String>>(
        self,
        name: T1,
        param: &T,
    ) -> Result<Self>
       where Self: Sized { ... }
    fn bind_ref<T: Serialize>(self, param: &T) -> Result<Self>
       where Self: Sized { ... }
    fn bind_named<T, T1>(self, name: T1, param: T) -> Result<Self>
       where T: Serialize,
             Self: Sized,
             T1: Into<String> { ... }
    fn bind<T>(self, param: T) -> Result<Self>
       where T: Serialize,
             Self: Sized { ... }
    fn bind_null(self) -> Result<Self>
       where Self: Sized { ... }
    fn bind_named_null<T1>(self, name: T1) -> Result<Self>
       where Self: Sized,
             T1: Into<String> { ... }
}

Required Methods§

Source

fn bind_raw(self, param: Vec<u8>) -> Result<Self>
where Self: Sized,

Provided Methods§

Source

fn bind_named_ref<T: Serialize, T1: Into<String>>( self, name: T1, param: &T, ) -> Result<Self>
where Self: Sized,

bind named parameter

Source

fn bind_ref<T: Serialize>(self, param: &T) -> Result<Self>
where Self: Sized,

bind parameter

Source

fn bind_named<T, T1>(self, name: T1, param: T) -> Result<Self>
where T: Serialize, Self: Sized, T1: Into<String>,

bind named parameter

Source

fn bind<T>(self, param: T) -> Result<Self>
where T: Serialize, Self: Sized,

bind parameter

Source

fn bind_null(self) -> Result<Self>
where Self: Sized,

bind null

Source

fn bind_named_null<T1>(self, name: T1) -> Result<Self>
where Self: Sized, T1: Into<String>,

bind named null as parameter

Implementors§