Struct poem::middleware::CorsEndpoint
source · pub struct CorsEndpoint<E> { /* private fields */ }
Expand description
Endpoint for Cors middleware.
Trait Implementations
Auto Trait Implementations
impl<E> !RefUnwindSafe for CorsEndpoint<E>
impl<E> Send for CorsEndpoint<E>where
E: Send,
impl<E> Sync for CorsEndpoint<E>where
E: Sync,
impl<E> Unpin for CorsEndpoint<E>where
E: Unpin,
impl<E> !UnwindSafe for CorsEndpoint<E>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more