Enum redis::ControlFlow [−][src]
pub enum ControlFlow<U> { Continue, Break(U), }
Expand description
Allows pubsub callbacks to stop receiving messages.
Arbitrary data may be returned from Break
.
Variants
Expand description
Continues.
Expand description
Breaks with a value.
Auto Trait Implementations
impl<U> RefUnwindSafe for ControlFlow<U> where
U: RefUnwindSafe,
U: RefUnwindSafe,
impl<U> Send for ControlFlow<U> where
U: Send,
U: Send,
impl<U> Sync for ControlFlow<U> where
U: Sync,
U: Sync,
impl<U> Unpin for ControlFlow<U> where
U: Unpin,
U: Unpin,
impl<U> UnwindSafe for ControlFlow<U> where
U: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,