Skip to main content

LutexControllerProxyInterface

Trait LutexControllerProxyInterface 

Source
pub trait LutexControllerProxyInterface: Send + Sync {
    type WaitBitsetResponseFut: Future<Output = Result<LutexControllerWaitBitsetResult, Error>> + Send;
    type WakeBitsetResponseFut: Future<Output = Result<LutexControllerWakeBitsetResult, Error>> + Send;
    type CmpRequeueResponseFut: Future<Output = Result<LutexControllerCmpRequeueResult, Error>> + Send;

    // Required methods
    fn wait_bitset(
        &self,
        payload: WaitBitsetRequest,
    ) -> Self::WaitBitsetResponseFut;
    fn wake_bitset(
        &self,
        payload: WakeBitsetRequest,
    ) -> Self::WakeBitsetResponseFut;
    fn cmp_requeue(
        &self,
        payload: CmpRequeueRequest,
    ) -> Self::CmpRequeueResponseFut;
}

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§