Trait SuspendBlockerProxyInterface

Source
pub trait SuspendBlockerProxyInterface: Send + Sync {
    type BeforeSuspendResponseFut: Future<Output = Result<(), Error>> + Send;
    type AfterResumeResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn before_suspend(&self) -> Self::BeforeSuspendResponseFut;
    fn after_resume(&self) -> Self::AfterResumeResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§