pub struct DispatchEntry {
pub module_path: &'static str,
pub func: fn(&str, &str) -> Result<(i32, String), String>,
}Expand description
A statically registered evaluation entry point collected via the inventory crate.
Fields§
§module_path: &'static str§func: fn(&str, &str) -> Result<(i32, String), String>Trait Implementations§
impl Collect for DispatchEntry
Auto Trait Implementations§
impl Freeze for DispatchEntry
impl RefUnwindSafe for DispatchEntry
impl Send for DispatchEntry
impl Sync for DispatchEntry
impl Unpin for DispatchEntry
impl UnsafeUnpin for DispatchEntry
impl UnwindSafe for DispatchEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more