CallBuilder

Trait CallBuilder 

Source
pub trait CallBuilder<T> {
    // Required methods
    fn cursor(&mut self, cursor: &str) -> &mut Self;
    fn order(&mut self, dir: Direction) -> &mut Self;
    fn limit(&mut self, limit_number: u8) -> &mut Self;
    fn call(&self) -> Result<Record<T>, Error>;
    fn for_endpoint(&mut self, endpoint: Endpoint) -> &mut Self;
}

Required Methods§

Source

fn cursor(&mut self, cursor: &str) -> &mut Self

Source

fn order(&mut self, dir: Direction) -> &mut Self

Source

fn limit(&mut self, limit_number: u8) -> &mut Self

Source

fn call(&self) -> Result<Record<T>, Error>

Source

fn for_endpoint(&mut self, endpoint: Endpoint) -> &mut Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§