pub trait AdminReadSeam {
// Required methods
fn topics<'a>(
&'a self,
) -> Pin<Box<dyn Future<Output = Result<Vec<TopicRow>, UiError>> + Send + 'a>>;
fn groups<'a>(
&'a self,
) -> Pin<Box<dyn Future<Output = Result<Vec<GroupRow>, UiError>> + Send + 'a>>;
fn acls<'a>(
&'a self,
) -> Pin<Box<dyn Future<Output = Result<Vec<AclRow>, UiError>> + Send + 'a>>;
fn users<'a>(
&'a self,
) -> Pin<Box<dyn Future<Output = Result<Vec<UserRow>, UiError>> + Send + 'a>>;
fn quotas<'a>(
&'a self,
entity: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<Vec<QuotaRow>, UiError>> + Send + 'a>>;
fn log_dirs<'a>(
&'a self,
) -> Pin<Box<dyn Future<Output = Result<Vec<LogDirRow>, UiError>> + Send + 'a>>;
}Required Methods§
fn topics<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<Vec<TopicRow>, UiError>> + Send + 'a>>
fn groups<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<Vec<GroupRow>, UiError>> + Send + 'a>>
fn acls<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<Vec<AclRow>, UiError>> + Send + 'a>>
fn users<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<Vec<UserRow>, UiError>> + Send + 'a>>
Sourcefn quotas<'a>(
&'a self,
entity: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<Vec<QuotaRow>, UiError>> + Send + 'a>>
fn quotas<'a>( &'a self, entity: Option<String>, ) -> Pin<Box<dyn Future<Output = Result<Vec<QuotaRow>, UiError>> + Send + 'a>>
The quotas of entity, or of the signed-in operator when entity is
None.
fn log_dirs<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<Vec<LogDirRow>, UiError>> + Send + 'a>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".