pub enum NodePatternType {
ExpressRoute,
ExpressMiddleware,
FastifyRoute,
KoaRoute,
DatabaseQuery,
ErrorHandler,
AuthMiddleware,
ApiEndpoint,
WebSocketHandler,
}
Expand description
Node.js pattern types
Variants§
ExpressRoute
ExpressMiddleware
FastifyRoute
KoaRoute
DatabaseQuery
ErrorHandler
AuthMiddleware
ApiEndpoint
WebSocketHandler
Trait Implementations§
Source§impl Clone for NodePatternType
impl Clone for NodePatternType
Source§fn clone(&self) -> NodePatternType
fn clone(&self) -> NodePatternType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for NodePatternType
impl RefUnwindSafe for NodePatternType
impl Send for NodePatternType
impl Sync for NodePatternType
impl Unpin for NodePatternType
impl UnwindSafe for NodePatternType
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