pub struct Listing<C> { /* private fields */ }Trait Implementations§
Source§impl<C: 'static> Operation for Listing<C>
impl<C: 'static> Operation for Listing<C>
type Declaration = Catalog
type Resources = Option<Arc<StorageManager<C>>>
type Error = Error
type Context<'a> = Context<'a>
type Endpoints = ()
async fn initialize<'ctx>( storage: Arc<Self::Resources>, _: Self::Context<'ctx>, ) -> Result<Self>
async fn run<'ctx>( &mut self, context: Self::Context<'ctx>, request: &mut Catalog, _: &mut Self::Endpoints, ) -> Result<Response<CatalogPage>>
fn stop(&mut self) -> impl Future<Output = Result<(), Self::Error>> + Send
fn cleanup(&mut self) -> impl Future<Output = Result<(), Self::Error>> + Send
fn transferred(&self) -> bool
fn classify(_error: &Self::Error) -> FailureKind
Auto Trait Implementations§
impl<C> !RefUnwindSafe for Listing<C>
impl<C> !UnwindSafe for Listing<C>
impl<C> Freeze for Listing<C>
impl<C> Send for Listing<C>
impl<C> Sync for Listing<C>
impl<C> Unpin for Listing<C>
impl<C> UnsafeUnpin for Listing<C>
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