pub struct EdgeConnectionHandlerObject { /* private fields */ }Expand description
The dynamic object wrapper for EdgeConnectionHandler.
Implementations§
Source§impl EdgeConnectionHandlerObject
impl EdgeConnectionHandlerObject
Sourcepub fn basic() -> Self
pub fn basic() -> Self
Basic handler: call Node::handle_edge_request directly.
Sourcepub fn with_middleware<M>(self, middleware: M) -> Selfwhere
M: EdgeConnectionMiddleware<Self>,
pub fn with_middleware<M>(self, middleware: M) -> Selfwhere
M: EdgeConnectionMiddleware<Self>,
Wrap the handler with a middleware.
Trait Implementations§
Source§impl Clone for EdgeConnectionHandlerObject
impl Clone for EdgeConnectionHandlerObject
Source§impl Debug for EdgeConnectionHandlerObject
impl Debug for EdgeConnectionHandlerObject
Auto Trait Implementations§
impl !RefUnwindSafe for EdgeConnectionHandlerObject
impl !UnwindSafe for EdgeConnectionHandlerObject
impl Freeze for EdgeConnectionHandlerObject
impl Send for EdgeConnectionHandlerObject
impl Sync for EdgeConnectionHandlerObject
impl Unpin for EdgeConnectionHandlerObject
impl UnsafeUnpin for EdgeConnectionHandlerObject
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