pub struct EndpointsHandler { /* private fields */ }
Expand description
Endpoints handler
Implementations§
Source§impl EndpointsHandler
impl EndpointsHandler
pub fn new(client: RestClient) -> Self
Sourcepub async fn stats(&self, uid: &str) -> Result<EndpointStats>
pub async fn stats(&self, uid: &str) -> Result<EndpointStats>
Get endpoint statistics
Sourcepub async fn all_stats(&self) -> Result<Vec<EndpointStats>>
pub async fn all_stats(&self) -> Result<Vec<EndpointStats>>
Get all endpoint statistics
Auto Trait Implementations§
impl Freeze for EndpointsHandler
impl !RefUnwindSafe for EndpointsHandler
impl Send for EndpointsHandler
impl Sync for EndpointsHandler
impl Unpin for EndpointsHandler
impl !UnwindSafe for EndpointsHandler
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