@@ -308,7 +308,7 @@ impl Graphul<()> {
308
308
309
309
// Get with state
310
310
// Graphul::Get(my_state, "/", || async {});
311
- fn Get < T , H , S > ( state : S , path : & str , handler : H ) -> Graphul < S >
311
+ fn state_get < T , H , S > ( state : S , path : & str , handler : H ) -> Graphul < S >
312
312
where
313
313
H : Handler < T , S > ,
314
314
T : ' static ,
@@ -337,7 +337,7 @@ impl Graphul<()> {
337
337
338
338
// Post with state
339
339
// Graphul::Post(my_state, "/", || async {});
340
- fn Post < T , H , S > ( state : S , path : & str , handler : H ) -> Graphul < S >
340
+ fn state_post < T , H , S > ( state : S , path : & str , handler : H ) -> Graphul < S >
341
341
where
342
342
H : Handler < T , S > ,
343
343
T : ' static ,
@@ -366,7 +366,7 @@ impl Graphul<()> {
366
366
367
367
// Put with state
368
368
// Graphul::Put(my_state, "/", || async {});
369
- fn Put < T , H , S > ( state : S , path : & str , handler : H ) -> Graphul < S >
369
+ fn state_put < T , H , S > ( state : S , path : & str , handler : H ) -> Graphul < S >
370
370
where
371
371
H : Handler < T , S > ,
372
372
T : ' static ,
@@ -395,7 +395,7 @@ impl Graphul<()> {
395
395
396
396
// Delete with state
397
397
// Graphul::Delete(my_state, "/", || async {});
398
- fn Delete < T , H , S > ( state : S , path : & str , handler : H ) -> Graphul < S >
398
+ fn state_delete < T , H , S > ( state : S , path : & str , handler : H ) -> Graphul < S >
399
399
where
400
400
H : Handler < T , S > ,
401
401
T : ' static ,
@@ -424,7 +424,7 @@ impl Graphul<()> {
424
424
425
425
// Patch with state
426
426
// Graphul::Patch(my_state, "/", || async {});
427
- fn Patch < T , H , S > ( state : S , path : & str , handler : H ) -> Graphul < S >
427
+ fn state_patch < T , H , S > ( state : S , path : & str , handler : H ) -> Graphul < S >
428
428
where
429
429
H : Handler < T , S > ,
430
430
T : ' static ,
@@ -453,7 +453,7 @@ impl Graphul<()> {
453
453
454
454
// Options with state
455
455
// Graphul::Options(my_state, "/", || async {});
456
- fn Options < T , H , S > ( state : S , path : & str , handler : H ) -> Graphul < S >
456
+ fn state_options < T , H , S > ( state : S , path : & str , handler : H ) -> Graphul < S >
457
457
where
458
458
H : Handler < T , S > ,
459
459
T : ' static ,
@@ -482,7 +482,7 @@ impl Graphul<()> {
482
482
483
483
// Trace with state
484
484
// Graphul::Trace(my_state, "/", || async {});
485
- fn Trace < T , H , S > ( state : S , path : & str , handler : H ) -> Graphul < S >
485
+ fn state_trace < T , H , S > ( state : S , path : & str , handler : H ) -> Graphul < S >
486
486
where
487
487
H : Handler < T , S > ,
488
488
T : ' static ,
@@ -511,7 +511,7 @@ impl Graphul<()> {
511
511
512
512
// Head with state
513
513
// Graphul::Head(my_state, "/", || async {});
514
- fn Head < T , H , S > ( state : S , path : & str , handler : H ) -> Graphul < S >
514
+ fn state_head < T , H , S > ( state : S , path : & str , handler : H ) -> Graphul < S >
515
515
where
516
516
H : Handler < T , S > ,
517
517
T : ' static ,
0 commit comments