Struct restless_util::PathPrefix
source · pub struct PathPrefix<R: Request + ?Sized, S: AsRef<str>> { /* private fields */ }
Expand description
Maps a request to prefix the path with a string.
Trait Implementations§
source§impl<R: Clone + Request + ?Sized, S: Clone + AsRef<str>> Clone for PathPrefix<R, S>
impl<R: Clone + Request + ?Sized, S: Clone + AsRef<str>> Clone for PathPrefix<R, S>
source§fn clone(&self) -> PathPrefix<R, S>
fn clone(&self) -> PathPrefix<R, S>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<R: ?Sized, S> RefUnwindSafe for PathPrefix<R, S>where
R: RefUnwindSafe,
S: RefUnwindSafe,
impl<R: ?Sized, S> Send for PathPrefix<R, S>
impl<R: ?Sized, S> Sync for PathPrefix<R, S>
impl<R: ?Sized, S> Unpin for PathPrefix<R, S>
impl<R: ?Sized, S> UnwindSafe for PathPrefix<R, S>where
R: UnwindSafe,
S: UnwindSafe,
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