Trait CCopyResponse

Source
pub trait CCopyResponse<T, R>
where T: Copy,
{ // 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> CCopyResponse<T, COptionResponseResult> for Result<Option<T>, CError>
where T: Copy,

Source§

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

Source§

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

Source§

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

Implementors§