Struct scylladb::prelude::tokio_tungstenite::tungstenite::handshake::server::NoCallback
[−]pub struct NoCallback;
Expand description
Stub for callback that does nothing.
Trait Implementations
impl Callback for NoCallback
impl Callback for NoCallback
fn on_request(
self,
_request: &Request<()>,
response: Response<()>
) -> Result<Response<()>, Response<Option<String>>>
fn on_request(
self,
_request: &Request<()>,
response: Response<()>
) -> Result<Response<()>, Response<Option<String>>>
Called whenever the server read the request from the client and is ready to reply to it. May return additional reply headers. Returning an error resulting in rejecting the incoming connection. Read more
impl Clone for NoCallback
impl Clone for NoCallback
fn clone(&self) -> NoCallback
fn clone(&self) -> NoCallback
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for NoCallback
impl Debug for NoCallback
impl Copy for NoCallback
Auto Trait Implementations
impl RefUnwindSafe for NoCallback
impl Send for NoCallback
impl Sync for NoCallback
impl Unpin for NoCallback
impl UnwindSafe for NoCallback
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<E, T, const C: usize> ChannelBuilder<AbortableBoundedChannel<E, C>> for T where
E: 'static + Send,
T: Send,
impl<E, T, const C: usize> ChannelBuilder<AbortableBoundedChannel<E, C>> for T where
E: 'static + Send,
T: Send,
sourcefn build_channel<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<AbortableBoundedChannel<E, C>, ActorError>> + Send + 'async_trait, Global>> where
'life0: 'async_trait,
T: 'async_trait,
fn build_channel<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<AbortableBoundedChannel<E, C>, ActorError>> + Send + 'async_trait, Global>> where
'life0: 'async_trait,
T: 'async_trait,
Implement how to build the channel for the corresponding actor
sourceimpl<E, T> ChannelBuilder<AbortableUnboundedChannel<E>> for T where
E: 'static + Send,
T: Send,
impl<E, T> ChannelBuilder<AbortableUnboundedChannel<E>> for T where
E: 'static + Send,
T: Send,
sourcefn build_channel<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<AbortableUnboundedChannel<E>, ActorError>> + Send + 'async_trait, Global>> where
'life0: 'async_trait,
T: 'async_trait,
fn build_channel<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<AbortableUnboundedChannel<E>, ActorError>> + Send + 'async_trait, Global>> where
'life0: 'async_trait,
T: 'async_trait,
Implement how to build the channel for the corresponding actor
sourceimpl<E, T, const C: usize> ChannelBuilder<BoundedChannel<E, C>> for T where
E: 'static + ShutdownEvent,
T: Send,
impl<E, T, const C: usize> ChannelBuilder<BoundedChannel<E, C>> for T where
E: 'static + ShutdownEvent,
T: Send,
sourcefn build_channel<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<BoundedChannel<E, C>, ActorError>> + Send + 'async_trait, Global>> where
'life0: 'async_trait,
T: 'async_trait,
fn build_channel<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<BoundedChannel<E, C>, ActorError>> + Send + 'async_trait, Global>> where
'life0: 'async_trait,
T: 'async_trait,
Implement how to build the channel for the corresponding actor
sourceimpl<T, const I: u64> ChannelBuilder<IntervalChannel<I>> for T where
T: Send,
impl<T, const I: u64> ChannelBuilder<IntervalChannel<I>> for T where
T: Send,
sourcefn build_channel<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<IntervalChannel<I>, ActorError>> + Send + 'async_trait, Global>> where
'life0: 'async_trait,
T: 'async_trait,
fn build_channel<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<IntervalChannel<I>, ActorError>> + Send + 'async_trait, Global>> where
'life0: 'async_trait,
T: 'async_trait,
Implement how to build the channel for the corresponding actor
sourceimpl<T, C, B> ChannelBuilder<Marker<C, B>> for T where
B: 'static + Send + Sync,
T: Send + ChannelBuilder<C>,
C: Channel,
impl<T, C, B> ChannelBuilder<Marker<C, B>> for T where
B: 'static + Send + Sync,
T: Send + ChannelBuilder<C>,
C: Channel,
sourcefn build_channel<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Marker<C, B>, ActorError>> + Send + 'async_trait, Global>> where
'life0: 'async_trait,
T: 'async_trait,
fn build_channel<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Marker<C, B>, ActorError>> + Send + 'async_trait, Global>> where
'life0: 'async_trait,
T: 'async_trait,
Implement how to build the channel for the corresponding actor
sourceimpl<T> ChannelBuilder<NullChannel> for T where
T: Send,
impl<T> ChannelBuilder<NullChannel> for T where
T: Send,
sourcefn build_channel<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<NullChannel, ActorError>> + Send + 'async_trait, Global>> where
'life0: 'async_trait,
T: 'async_trait,
fn build_channel<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<NullChannel, ActorError>> + Send + 'async_trait, Global>> where
'life0: 'async_trait,
T: 'async_trait,
Implement how to build the channel for the corresponding actor
sourceimpl<E, T> ChannelBuilder<UnboundedChannel<E>> for T where
E: 'static + ShutdownEvent,
T: Send,
impl<E, T> ChannelBuilder<UnboundedChannel<E>> for T where
E: 'static + ShutdownEvent,
T: Send,
sourcefn build_channel<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<UnboundedChannel<E>, ActorError>> + Send + 'async_trait, Global>> where
'life0: 'async_trait,
T: 'async_trait,
fn build_channel<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<UnboundedChannel<E>, ActorError>> + Send + 'async_trait, Global>> where
'life0: 'async_trait,
T: 'async_trait,
Implement how to build the channel for the corresponding actor
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more