pub struct DummyInvoker;Expand description
Placeholder invoker for group (namespace) nodes.
Group nodes are organizational containers and should never be invoked directly. Calling this invoker returns an error indicating a misdirected request.
Trait Implementations§
Source§impl HandlerInvoker for DummyInvoker
impl HandlerInvoker for DummyInvoker
Source§fn call(
&self,
_state: &StateMap,
_ctx: &RequestCtx,
_payload: &[u8],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, Error>> + Send + '_>>
fn call( &self, _state: &StateMap, _ctx: &RequestCtx, _payload: &[u8], ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, Error>> + Send + '_>>
Invoke the handler with the given shared state, request context,
and binary payload. Read more
Source§fn is_long_connection(&self) -> bool
fn is_long_connection(&self) -> bool
Returns
true if this handler uses persistent connections (WebSocket/TCP).Auto Trait Implementations§
impl Freeze for DummyInvoker
impl RefUnwindSafe for DummyInvoker
impl Send for DummyInvoker
impl Sync for DummyInvoker
impl Unpin for DummyInvoker
impl UnsafeUnpin for DummyInvoker
impl UnwindSafe for DummyInvoker
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