pub struct InMemoryPreflightCache { /* private fields */ }Expand description
In-process CorsPreflightCache with no persistence; expired entries are pruned on
insertion.
Implementations§
Trait Implementations§
Source§impl CorsPreflightCache for InMemoryPreflightCache
Available on non-WebAssembly only.
impl CorsPreflightCache for InMemoryPreflightCache
Available on non-WebAssembly only.
Source§impl Default for InMemoryPreflightCache
impl Default for InMemoryPreflightCache
Source§fn default() -> InMemoryPreflightCache
fn default() -> InMemoryPreflightCache
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for InMemoryPreflightCache
impl !RefUnwindSafe for InMemoryPreflightCache
impl Send for InMemoryPreflightCache
impl Sync for InMemoryPreflightCache
impl Unpin for InMemoryPreflightCache
impl UnsafeUnpin for InMemoryPreflightCache
impl UnwindSafe for InMemoryPreflightCache
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