pub struct PluginAsyncMiddleware {
pub path: String,
pub handler: PluginAsyncMiddlewareHandler,
}Fields§
§path: String§handler: PluginAsyncMiddlewareHandlerTrait Implementations§
Source§impl Clone for PluginAsyncMiddleware
impl Clone for PluginAsyncMiddleware
Source§fn clone(&self) -> PluginAsyncMiddleware
fn clone(&self) -> PluginAsyncMiddleware
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Freeze for PluginAsyncMiddleware
impl !RefUnwindSafe for PluginAsyncMiddleware
impl Send for PluginAsyncMiddleware
impl Sync for PluginAsyncMiddleware
impl Unpin for PluginAsyncMiddleware
impl UnsafeUnpin for PluginAsyncMiddleware
impl !UnwindSafe for PluginAsyncMiddleware
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