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§
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
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.