Trait finchers_http::path::FromSegments
[−]
[src]
pub trait FromSegments: 'static + Sized { type Error; fn from_segments(segments: &mut Segments) -> Result<Self, Self::Error>; }
Trait representing the conversion from a Segments
Associated Types
type Error
The error type returned from from_segments
Required Methods
fn from_segments(segments: &mut Segments) -> Result<Self, Self::Error>
Perform conversion from Segments
to Self
.