Struct cfx_core::ref_funcs::RefFunction [−][src]
pub struct RefFunction { /* fields omitted */ }
Implementations
pub fn new<Handler, Input, Output>(handler: Handler) -> RefFunction where
Handler: Fn(Input) -> Output + 'static,
Input: DeserializeOwned,
Output: Serialize,
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for RefFunction
impl !Send for RefFunction
impl !Sync for RefFunction
impl Unpin for RefFunction
impl !UnwindSafe for RefFunction
Blanket Implementations
Mutably borrows from an owned value. Read more