pub enum StrExtractorKind<'a> {
Parts(StrExtractorPartsKind<'a>),
Extension(&'a str),
}
Expand description
Variants§
Parts(StrExtractorPartsKind<'a>)
Extension(&'a str)
Implementations§
Source§impl<'a> StrExtractorKind<'a>
impl<'a> StrExtractorKind<'a>
pub fn try_from_str(str: &'a str) -> Option<Self>
Source§impl<'a> StrExtractorKind<'a>
impl<'a> StrExtractorKind<'a>
pub fn extract_to_string(&self, request: &SgRequest) -> Option<String>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for StrExtractorKind<'a>
impl<'a> RefUnwindSafe for StrExtractorKind<'a>
impl<'a> Send for StrExtractorKind<'a>
impl<'a> Sync for StrExtractorKind<'a>
impl<'a> Unpin for StrExtractorKind<'a>
impl<'a> UnwindSafe for StrExtractorKind<'a>
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