pub trait Manager {
type Socket: Socket;
// Required methods
async fn describe(&mut self) -> Result<Result<DescribeOutput, ManagerError>>;
fn chain_describe<'c>(&'c mut self) -> Result<Chain<'c, Self::Socket>>;
}Expand description
Proxy trait for calling methods on the io.systemd.Manager interface.
Required Associated Types§
Required Methods§
Sourceasync fn describe(&mut self) -> Result<Result<DescribeOutput, ManagerError>>
async fn describe(&mut self) -> Result<Result<DescribeOutput, ManagerError>>
Describe the manager’s configuration and runtime state.
Sourcefn chain_describe<'c>(&'c mut self) -> Result<Chain<'c, Self::Socket>>
fn chain_describe<'c>(&'c mut self) -> Result<Chain<'c, Self::Socket>>
Start a chain with this method call.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".