Struct gotham::handler::FilePathExtractor
source · pub struct FilePathExtractor { /* private fields */ }
Expand description
Responsible for extracting the file path matched by the glob segment from the URL.
Trait Implementations§
source§impl Debug for FilePathExtractor
impl Debug for FilePathExtractor
source§impl<'de> Deserialize<'de> for FilePathExtractor
impl<'de> Deserialize<'de> for FilePathExtractor
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StateData for FilePathExtractor
Auto Trait Implementations§
impl RefUnwindSafe for FilePathExtractor
impl Send for FilePathExtractor
impl Sync for FilePathExtractor
impl Unpin for FilePathExtractor
impl UnwindSafe for FilePathExtractor
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
source§impl<T> FromState for Twhere
T: StateData,
impl<T> FromState for Twhere T: StateData,
source§fn try_borrow_from(state: &State) -> Option<&T>
fn try_borrow_from(state: &State) -> Option<&T>
Tries to borrow a value from the
State
storage. Read moresource§fn try_borrow_mut_from(state: &mut State) -> Option<&mut T>
fn try_borrow_mut_from(state: &mut State) -> Option<&mut T>
Tries to mutably borrow a value from the
State
storage. Read moresource§fn borrow_mut_from(state: &mut State) -> &mut T
fn borrow_mut_from(state: &mut State) -> &mut T
Mutably borrows a value from the
State
storage. Read more