[−][src]Trait kitty_pool::pool::kitty_pool::KittyPool
Required methods
fn borrow<'life0, 'async_trait>(
&'life0 mut self,
requested_size: usize
) -> Pin<Box<dyn Future<Output = Result<Token, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 mut self,
requested_size: usize
) -> Pin<Box<dyn Future<Output = Result<Token, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn release(&mut self, token: &Token) -> Result<(), Error>
fn read<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
token: &'life1 Token,
data_to_read: &'life2 mut [u8]
) -> Pin<Box<dyn Future<Output = Result<Token, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
&'life0 mut self,
token: &'life1 Token,
data_to_read: &'life2 mut [u8]
) -> Pin<Box<dyn Future<Output = Result<Token, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn write<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
token: &'life1 Token,
data_to_write: &'life2 [u8]
) -> Pin<Box<dyn Future<Output = Result<Token, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
&'life0 mut self,
token: &'life1 Token,
data_to_write: &'life2 [u8]
) -> Pin<Box<dyn Future<Output = Result<Token, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Implementors
impl KittyPool for ContiguousKittyPool
[src]
fn borrow<'life0, 'async_trait>(
&'life0 mut self,
requested_size: usize
) -> Pin<Box<dyn Future<Output = Result<Token, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
requested_size: usize
) -> Pin<Box<dyn Future<Output = Result<Token, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn release(&mut self, token: &Token) -> Result<(), Error>
[src]
fn read<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
token: &'life1 Token,
data_to_read: &'life2 mut [u8]
) -> Pin<Box<dyn Future<Output = Result<Token, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
token: &'life1 Token,
data_to_read: &'life2 mut [u8]
) -> Pin<Box<dyn Future<Output = Result<Token, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn write<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
token: &'life1 Token,
data_to_write: &'life2 [u8]
) -> Pin<Box<dyn Future<Output = Result<Token, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
token: &'life1 Token,
data_to_write: &'life2 [u8]
) -> Pin<Box<dyn Future<Output = Result<Token, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
impl KittyPool for SGLKittyPool
[src]
fn borrow<'life0, 'async_trait>(
&'life0 mut self,
requested_size: usize
) -> Pin<Box<dyn Future<Output = Result<Token, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
requested_size: usize
) -> Pin<Box<dyn Future<Output = Result<Token, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn release(&mut self, token: &Token) -> Result<(), Error>
[src]
fn read<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
token: &'life1 Token,
data_to_read: &'life2 mut [u8]
) -> Pin<Box<dyn Future<Output = Result<Token, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
token: &'life1 Token,
data_to_read: &'life2 mut [u8]
) -> Pin<Box<dyn Future<Output = Result<Token, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn write<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
token: &'life1 Token,
data_to_write: &'life2 [u8]
) -> Pin<Box<dyn Future<Output = Result<Token, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
token: &'life1 Token,
data_to_write: &'life2 [u8]
) -> Pin<Box<dyn Future<Output = Result<Token, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,