pub struct Reporting;Trait Implementations§
Source§impl Operation for Reporting
impl Operation for Reporting
type Declaration = Status
type Resources = ()
type Error = Error
type Context<'a> = Context<'a>
type Endpoints = ()
async fn initialize<'ctx>(_: Arc<()>, _: Self::Context<'ctx>) -> Result<Self>
async fn run<'ctx>( &mut self, context: Self::Context<'ctx>, request: &mut Status, _: &mut Self::Endpoints, ) -> Result<Response<InstanceState>>
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 Freeze for Reporting
impl RefUnwindSafe for Reporting
impl Send for Reporting
impl Sync for Reporting
impl Unpin for Reporting
impl UnsafeUnpin for Reporting
impl UnwindSafe for Reporting
Blanket Implementations§
impl<T> Allocation for T
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