pub trait InterfacesProxyInterface: Send + Sync {
type GetMacResponseFut: Future<Output = Result<InterfacesGetMacResult, Error>> + Send;
// Required methods
fn get_admin(
&self,
id: u64,
control: ServerEnd<ControlMarker>,
) -> Result<(), Error>;
fn get_mac(&self, id: u64) -> Self::GetMacResponseFut;
}Required Associated Types§
type GetMacResponseFut: Future<Output = Result<InterfacesGetMacResult, Error>> + Send
Required Methods§
fn get_admin( &self, id: u64, control: ServerEnd<ControlMarker>, ) -> Result<(), Error>
fn get_mac(&self, id: u64) -> Self::GetMacResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".