Skip to main content

StatusMonitor

Trait StatusMonitor 

Source
pub trait StatusMonitor {
    type Output;
    type Format: Format + Send;

    // Required method
    fn status(&self) -> PollerStatus;
}
Expand description

Represents a status monitor for a long-running operation (LRO).

Required Associated Types§

Source

type Output

The model type returned after the long-running operation (LRO) has completed successfully.

Set this to the unit type () if no final resource is expected.

Source

type Format: Format + Send

The format used to deserialize the Output.

Set this to NoFormat if no final resource is expected.

Required Methods§

Source

fn status(&self) -> PollerStatus

Gets the PollerStatus from the status monitor.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§