Skip to main content

ControlPlaneProxyInterface

Trait ControlPlaneProxyInterface 

Source
pub trait ControlPlaneProxyInterface: Send + Sync {
    type AddChildResponseFut: Future<Output = Result<ControlPlaneAddChildResult, Error>> + Send;
    type CheckResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn add_child(&self, args: NodeAddArgs) -> Self::AddChildResponseFut;
    fn check(&self) -> Self::CheckResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn add_child(&self, args: NodeAddArgs) -> Self::AddChildResponseFut

Source

fn check(&self) -> Self::CheckResponseFut

Implementors§