pub struct ExternalBufferSled { /* private fields */ }Expand description
Sled as the persistent buffer with FIFO queue order
Implementations§
Trait Implementations§
Source§impl<T: ExternalBufferSerde + Send + 'static> ExternalBuffer<T> for ExternalBufferSled
impl<T: ExternalBufferSerde + Send + 'static> ExternalBuffer<T> for ExternalBufferSled
fn push<'life0, 'async_trait>(
&'life0 self,
item: T,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn shift<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<T>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !Freeze for ExternalBufferSled
impl !RefUnwindSafe for ExternalBufferSled
impl !UnwindSafe for ExternalBufferSled
impl Send for ExternalBufferSled
impl Sync for ExternalBufferSled
impl Unpin for ExternalBufferSled
impl UnsafeUnpin for ExternalBufferSled
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more