Trait CCopyResponse

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

Required Methods§

Source

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

Implementations on Foreign Types§

Source§

impl<T: Copy> CCopyResponse<T, COptionResponseResult> for Result<Option<T>, CError>

Source§

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

Source§

impl<T: Copy> CCopyResponse<T, bool> for Result<T, CError>

Source§

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

Implementors§