Struct sunfish::DebugSunfish [−][src]
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self