pub struct MessagesService {
streams: StreamPair,
store: Arc<RedisMessageStorage>,
}Fields§
§streams: StreamPair§store: Arc<RedisMessageStorage>Implementations§
Source§impl MessagesService
impl MessagesService
pub fn new(streams: StreamPair, redis: RedisMessageStorage) -> Self
Trait Implementations§
Source§impl Service for MessagesService
impl Service for MessagesService
Auto Trait Implementations§
impl Freeze for MessagesService
impl !RefUnwindSafe for MessagesService
impl Send for MessagesService
impl Sync for MessagesService
impl Unpin for MessagesService
impl !UnwindSafe for MessagesService
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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