[−][src]Enum rocket_lamb::BasePathBehaviour
Determines whether the API Gateway base path is included in the URL processed by Rocket.
The default is RemountAndInclude
.
Variants
RemountAndInclude
Includes the base bath in the URL. The first request received will be used to determine the base path, and all mounted routes will be cloned and re-mounted at the base path.
Include
Includes the base bath in the URL. You must ensure that the Rocket
's routes have been
mounted at the expected base path.
Exclude
Excludes the base bath from the URL. The URL processed by Rocket may not match the full
path of the original client, which may cause absolute URLs in responses (e.g. in the
Location
response header for redirects) to not behave as expected.
Trait Implementations
impl PartialEq<BasePathBehaviour> for BasePathBehaviour
[src]
fn eq(&self, other: &BasePathBehaviour) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for BasePathBehaviour
[src]
impl Debug for BasePathBehaviour
[src]
Auto Trait Implementations
impl Send for BasePathBehaviour
impl Unpin for BasePathBehaviour
impl Sync for BasePathBehaviour
impl UnwindSafe for BasePathBehaviour
impl RefUnwindSafe for BasePathBehaviour
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> IntoCollection<T> for T
fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
A: Array<Item = T>,
fn mapped<U, F, A>(self, f: F) -> SmallVec<A> where
A: Array<Item = U>,
F: FnMut(T) -> U,
A: Array<Item = U>,
F: FnMut(T) -> U,
impl<T, I> AsResult<T, I> for T where
I: Input,
I: Input,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,