Trait finchers_http::path::FromSegment
[−]
[src]
pub trait FromSegment: 'static + Sized { type Error; fn from_segment(segment: Segment) -> Result<Self, Self::Error>; }
Trait representing the conversion from "Segment".
Associated Types
type Error
The error type returned from "from_segment".
Required Methods
fn from_segment(segment: Segment) -> Result<Self, Self::Error>
Perform conversion from "Segment" to "Self".