pub struct RuntimeInformationQueryBuilder { /* private fields */ }Expand description
Provides a builder to choose how the response from Prometheus is returned to the caller.
Implementations§
Source§impl RuntimeInformationQueryBuilder
impl RuntimeInformationQueryBuilder
Sourcepub async fn get(self) -> Result<RuntimeInformation, Error>
pub async fn get(self) -> Result<RuntimeInformation, Error>
Execute the query (using HTTP GET) and retrieve runtime information properties about the Prometheus server.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RuntimeInformationQueryBuilder
impl !UnwindSafe for RuntimeInformationQueryBuilder
impl Forget for RuntimeInformationQueryBuilder
impl Freeze for RuntimeInformationQueryBuilderwhere
*const ArcInner<ClientRef> is !null: Freeze,
PhantomData<ArcInner<ClientRef>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
impl Move for RuntimeInformationQueryBuilder
impl Send for RuntimeInformationQueryBuilder
impl Sync for RuntimeInformationQueryBuilder
impl Unpin for RuntimeInformationQueryBuilder
impl UnsafeUnpin for RuntimeInformationQueryBuilderwhere
*const ArcInner<ClientRef> is !null: UnsafeUnpin,
PhantomData<ArcInner<ClientRef>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
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