Trait CMoveResponse

Source
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§