pub struct InMemoryAnnotationQueue { /* private fields */ }Implementations§
Trait Implementations§
Source§impl AnnotationQueue for InMemoryAnnotationQueue
impl AnnotationQueue for InMemoryAnnotationQueue
fn enqueue<'life0, 'async_trait>(
&'life0 self,
item: AnnotationItem,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn next_pending<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<AnnotationItem>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn submit<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 str,
verdict: Verdict,
note: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<AnnotationItem>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl Clone for InMemoryAnnotationQueue
impl Clone for InMemoryAnnotationQueue
Source§fn clone(&self) -> InMemoryAnnotationQueue
fn clone(&self) -> InMemoryAnnotationQueue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for InMemoryAnnotationQueue
impl Default for InMemoryAnnotationQueue
Source§fn default() -> InMemoryAnnotationQueue
fn default() -> InMemoryAnnotationQueue
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InMemoryAnnotationQueue
impl !RefUnwindSafe for InMemoryAnnotationQueue
impl Send for InMemoryAnnotationQueue
impl Sync for InMemoryAnnotationQueue
impl Unpin for InMemoryAnnotationQueue
impl UnsafeUnpin for InMemoryAnnotationQueue
impl !UnwindSafe for InMemoryAnnotationQueue
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