etcd_rs/auth/
mod.rs

1mod authenticate;
2
3pub use authenticate::{AuthenticateRequest, AuthenticateResponse};
4
5use async_trait::async_trait;
6
7use crate::Result;
8
9#[async_trait]
10pub trait AuthOp {
11    async fn authenticate<R>(&self, req: R) -> Result<AuthenticateResponse>
12    where
13        R: Into<AuthenticateRequest> + Send;
14}