pub trait TableHttpExt {
Show 20 methods // Required methods fn push_request( &mut self, request: Box<dyn HttpRequest> ) -> Result<u32, TableError>; fn get_request(&self, id: u32) -> Result<&dyn HttpRequest, TableError>; fn get_request_mut( &mut self, id: u32 ) -> Result<&mut Box<dyn HttpRequest>, TableError>; fn delete_request(&mut self, id: u32) -> Result<(), TableError>; fn push_response( &mut self, response: Box<dyn HttpResponse> ) -> Result<u32, TableError>; fn get_response(&self, id: u32) -> Result<&dyn HttpResponse, TableError>; fn get_response_mut( &mut self, id: u32 ) -> Result<&mut Box<dyn HttpResponse>, TableError>; fn delete_response(&mut self, id: u32) -> Result<(), TableError>; fn push_future( &mut self, future: Box<ActiveFuture> ) -> Result<u32, TableError>; fn get_future(&self, id: u32) -> Result<&ActiveFuture, TableError>; fn get_future_mut( &mut self, id: u32 ) -> Result<&mut Box<ActiveFuture>, TableError>; fn delete_future(&mut self, id: u32) -> Result<(), TableError>; fn push_fields( &mut self, fields: Box<ActiveFields> ) -> Result<u32, TableError>; fn get_fields(&self, id: u32) -> Result<&ActiveFields, TableError>; fn get_fields_mut( &mut self, id: u32 ) -> Result<&mut Box<ActiveFields>, TableError>; fn delete_fields(&mut self, id: u32) -> Result<(), TableError>; fn push_stream<'life0, 'async_trait>( &'life0 mut self, content: Bytes, parent: u32 ) -> Pin<Box<dyn Future<Output = Result<(u32, Stream), TableError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_stream(&self, id: u32) -> Result<&Stream, TableError>; fn get_stream_mut( &mut self, id: u32 ) -> Result<&mut Box<Stream>, TableError>; fn delete_stream(&mut self, id: u32) -> Result<(), TableError>;
}

Required Methods§

source

fn push_request( &mut self, request: Box<dyn HttpRequest> ) -> Result<u32, TableError>

source

fn get_request(&self, id: u32) -> Result<&dyn HttpRequest, TableError>

source

fn get_request_mut( &mut self, id: u32 ) -> Result<&mut Box<dyn HttpRequest>, TableError>

source

fn delete_request(&mut self, id: u32) -> Result<(), TableError>

source

fn push_response( &mut self, response: Box<dyn HttpResponse> ) -> Result<u32, TableError>

source

fn get_response(&self, id: u32) -> Result<&dyn HttpResponse, TableError>

source

fn get_response_mut( &mut self, id: u32 ) -> Result<&mut Box<dyn HttpResponse>, TableError>

source

fn delete_response(&mut self, id: u32) -> Result<(), TableError>

source

fn push_future(&mut self, future: Box<ActiveFuture>) -> Result<u32, TableError>

source

fn get_future(&self, id: u32) -> Result<&ActiveFuture, TableError>

source

fn get_future_mut( &mut self, id: u32 ) -> Result<&mut Box<ActiveFuture>, TableError>

source

fn delete_future(&mut self, id: u32) -> Result<(), TableError>

source

fn push_fields(&mut self, fields: Box<ActiveFields>) -> Result<u32, TableError>

source

fn get_fields(&self, id: u32) -> Result<&ActiveFields, TableError>

source

fn get_fields_mut( &mut self, id: u32 ) -> Result<&mut Box<ActiveFields>, TableError>

source

fn delete_fields(&mut self, id: u32) -> Result<(), TableError>

source

fn push_stream<'life0, 'async_trait>( &'life0 mut self, content: Bytes, parent: u32 ) -> Pin<Box<dyn Future<Output = Result<(u32, Stream), TableError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn get_stream(&self, id: u32) -> Result<&Stream, TableError>

source

fn get_stream_mut(&mut self, id: u32) -> Result<&mut Box<Stream>, TableError>

source

fn delete_stream(&mut self, id: u32) -> Result<(), TableError>

Implementations on Foreign Types§

source§

impl TableHttpExt for Table

source§

fn push_request( &mut self, request: Box<dyn HttpRequest> ) -> Result<u32, TableError>

source§

fn get_request(&self, id: u32) -> Result<&dyn HttpRequest, TableError>

source§

fn get_request_mut( &mut self, id: u32 ) -> Result<&mut Box<dyn HttpRequest>, TableError>

source§

fn delete_request(&mut self, id: u32) -> Result<(), TableError>

source§

fn push_response( &mut self, response: Box<dyn HttpResponse> ) -> Result<u32, TableError>

source§

fn get_response(&self, id: u32) -> Result<&dyn HttpResponse, TableError>

source§

fn get_response_mut( &mut self, id: u32 ) -> Result<&mut Box<dyn HttpResponse>, TableError>

source§

fn delete_response(&mut self, id: u32) -> Result<(), TableError>

source§

fn push_future(&mut self, future: Box<ActiveFuture>) -> Result<u32, TableError>

source§

fn get_future(&self, id: u32) -> Result<&ActiveFuture, TableError>

source§

fn get_future_mut( &mut self, id: u32 ) -> Result<&mut Box<ActiveFuture>, TableError>

source§

fn delete_future(&mut self, id: u32) -> Result<(), TableError>

source§

fn push_fields(&mut self, fields: Box<ActiveFields>) -> Result<u32, TableError>

source§

fn get_fields(&self, id: u32) -> Result<&ActiveFields, TableError>

source§

fn get_fields_mut( &mut self, id: u32 ) -> Result<&mut Box<ActiveFields>, TableError>

source§

fn delete_fields(&mut self, id: u32) -> Result<(), TableError>

source§

fn push_stream<'life0, 'async_trait>( &'life0 mut self, content: Bytes, parent: u32 ) -> Pin<Box<dyn Future<Output = Result<(u32, Stream), TableError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_stream(&self, id: u32) -> Result<&Stream, TableError>

source§

fn get_stream_mut(&mut self, id: u32) -> Result<&mut Box<Stream>, TableError>

source§

fn delete_stream(&mut self, id: u32) -> Result<(), TableError>

Implementors§