Struct sunfish::DebugSunfish
source · [−]pub struct DebugSunfish {
pub workspace_path: PathBuf,
pub package_path: PathBuf,
pub output_path: PathBuf,
pub routes_handler: Box<dyn Send + Sync + for<'a> Fn(&'a mut Request<Body>) -> Pin<Box<dyn Send + Future<Output = Result<Option<Response<Body>>>> + 'a>>>,
}
Fields
workspace_path: PathBuf
package_path: PathBuf
output_path: PathBuf
routes_handler: Box<dyn Send + Sync + for<'a> Fn(&'a mut Request<Body>) -> Pin<Box<dyn Send + Future<Output = Result<Option<Response<Body>>>> + 'a>>>
Implementations
Auto Trait Implementations
impl !RefUnwindSafe for DebugSunfish
impl Send for DebugSunfish
impl Sync for DebugSunfish
impl Unpin for DebugSunfish
impl !UnwindSafe for DebugSunfish
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more