pub struct Subscribe { /* private fields */ }Implementations§
Source§impl Subscribe
impl Subscribe
pub fn new(channels: Vec<String>) -> Subscribe
pub fn parse_frames( parse: &mut Parse, ) -> Result<Subscribe, Box<dyn Error + Send + Sync>>
pub async fn apply( self, db: &Db, dst: &mut Connection, shutdown: &mut Shutdown, ) -> Result<(), Box<dyn Error + Send + Sync>>
pub fn into_frame(self) -> Frame
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Subscribe
impl RefUnwindSafe for Subscribe
impl Send for Subscribe
impl Sync for Subscribe
impl Unpin for Subscribe
impl UnwindSafe for Subscribe
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