Something went wrong. Try again.
🏗️ Elegant & Highly Performant Async Gemini Server Framework for the Modern Age
async framework gemini-protocol protocol gemini rust
Something went wrong. Try again.
12345678910111213use crate::context::RouteContext;
#[allow(clippy::module_name_repetitions)]pub trait Partial: Send + Sync { fn call(&mut self, context: RouteContext) -> String;}
impl<T> Partial for Twhere T: FnMut(RouteContext) -> String + Send + Sync{ fn call(&mut self, context: RouteContext) -> String { (*self)(context) }}