pub trait CMoveResponse<T, R> {
    // Required method
    fn response(
        self,
        value: &mut ManuallyDrop<T>,
        error: &mut ManuallyDrop<CError>
    ) -> R;
}

Required Methods§

source

fn response( self, value: &mut ManuallyDrop<T>, error: &mut ManuallyDrop<CError> ) -> R

Implementations on Foreign Types§

source§

impl<T, IT> CMoveResponse<T, COptionResponseResult> for Result<Option<IT>, CError>
where IT: Into<T>,

source§

fn response( self, value: &mut ManuallyDrop<T>, error: &mut ManuallyDrop<CError> ) -> COptionResponseResult

source§

impl<T, IT> CMoveResponse<T, bool> for Result<IT, CError>
where IT: Into<T>,

source§

fn response( self, value: &mut ManuallyDrop<T>, error: &mut ManuallyDrop<CError> ) -> bool

Implementors§