pub struct RedisPubSubMsgDataSrcAsync { /* private fields */ }Available on crate features
standalone-async or sentinel-async or cluster-async only.Expand description
A struct that holds a Redis Pub/Sub message as an asynchronous data source.
Implementations§
Trait Implementations§
Source§impl DataSrc<RedisPubSubMsgDataConnAsync> for RedisPubSubMsgDataSrcAsync
impl DataSrc<RedisPubSubMsgDataConnAsync> for RedisPubSubMsgDataSrcAsync
Source§async fn setup_async(&mut self, _ag: &mut AsyncGroup) -> Result<()>
async fn setup_async(&mut self, _ag: &mut AsyncGroup) -> Result<()>
Performs asynchronous setup operations for the data source. Read more
Source§async fn create_data_conn_async(
&mut self,
) -> Result<Box<RedisPubSubMsgDataConnAsync>>
async fn create_data_conn_async( &mut self, ) -> Result<Box<RedisPubSubMsgDataConnAsync>>
Asynchronously creates a new data connection from this data source. Read more
Auto Trait Implementations§
impl Freeze for RedisPubSubMsgDataSrcAsync
impl RefUnwindSafe for RedisPubSubMsgDataSrcAsync
impl Send for RedisPubSubMsgDataSrcAsync
impl Sync for RedisPubSubMsgDataSrcAsync
impl Unpin for RedisPubSubMsgDataSrcAsync
impl UnsafeUnpin for RedisPubSubMsgDataSrcAsync
impl UnwindSafe for RedisPubSubMsgDataSrcAsync
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