Struct sod_crossbeam::SegQueuePusher
source · pub struct SegQueuePusher<T> { /* private fields */ }
Expand description
A sod::Service
that pushes input to an underlying [crossbeam::queue::SegQueue
].
Implementations§
Trait Implementations§
source§impl<T> Service for SegQueuePusher<T>
impl<T> Service for SegQueuePusher<T>
type Input = T
type Output = ()
type Error = Infallible
source§fn process(&self, input: T) -> Result<Self::Output, Self::Error>
fn process(&self, input: T) -> Result<Self::Output, Self::Error>
Process an input, producing a
Result<Self::Output, Self::Error>
source§fn into_mut(self) -> ServiceMut<Self>where
Self: Sized,
fn into_mut(self) -> ServiceMut<Self>where Self: Sized,
source§fn into_dyn<'a>(self) -> DynService<'a, Self::Input, Self::Output, Self::Error>where
Self: Sized + 'static,
fn into_dyn<'a>(self) -> DynService<'a, Self::Input, Self::Output, Self::Error>where Self: Sized + 'static,
Convert this
Service
into a DynService
Auto Trait Implementations§
impl<T> RefUnwindSafe for SegQueuePusher<T>where T: RefUnwindSafe,
impl<T> Send for SegQueuePusher<T>where T: Send,
impl<T> Sync for SegQueuePusher<T>where T: Send,
impl<T> Unpin for SegQueuePusher<T>
impl<T> UnwindSafe for SegQueuePusher<T>where T: RefUnwindSafe,
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