pub trait ProcessLimboProxyInterface: Send + Sync {
type SetActiveResponseFut: Future<Output = Result<(), Error>> + Send;
type GetActiveResponseFut: Future<Output = Result<bool, Error>> + Send;
type WatchActiveResponseFut: Future<Output = Result<bool, Error>> + Send;
type ListProcessesWaitingOnExceptionResponseFut: Future<Output = Result<ProcessLimboListProcessesWaitingOnExceptionResult, Error>> + Send;
type WatchProcessesWaitingOnExceptionResponseFut: Future<Output = Result<ProcessLimboWatchProcessesWaitingOnExceptionResult, Error>> + Send;
type RetrieveExceptionResponseFut: Future<Output = Result<ProcessLimboRetrieveExceptionResult, Error>> + Send;
type ReleaseProcessResponseFut: Future<Output = Result<ProcessLimboReleaseProcessResult, Error>> + Send;
type AppendFiltersResponseFut: Future<Output = Result<ProcessLimboAppendFiltersResult, Error>> + Send;
type RemoveFiltersResponseFut: Future<Output = Result<ProcessLimboRemoveFiltersResult, Error>> + Send;
type GetFiltersResponseFut: Future<Output = Result<Vec<String>, Error>> + Send;
// Required methods
fn set_active(&self, active: bool) -> Self::SetActiveResponseFut;
fn get_active(&self) -> Self::GetActiveResponseFut;
fn watch_active(&self) -> Self::WatchActiveResponseFut;
fn list_processes_waiting_on_exception(
&self
) -> Self::ListProcessesWaitingOnExceptionResponseFut;
fn watch_processes_waiting_on_exception(
&self
) -> Self::WatchProcessesWaitingOnExceptionResponseFut;
fn retrieve_exception(
&self,
process_koid: u64
) -> Self::RetrieveExceptionResponseFut;
fn release_process(
&self,
process_koid: u64
) -> Self::ReleaseProcessResponseFut;
fn append_filters(
&self,
filters: &mut dyn ExactSizeIterator<Item = &str>
) -> Self::AppendFiltersResponseFut;
fn remove_filters(
&self,
filters: &mut dyn ExactSizeIterator<Item = &str>
) -> Self::RemoveFiltersResponseFut;
fn get_filters(&self) -> Self::GetFiltersResponseFut;
}