pub enum Indicator<M> {
Message(M),
Repeation(Option<usize>),
}Expand description
the return type when some condition satisfied
Variants§
Message(M)
the return type is message
Repeation(Option<usize>)
the return type is the indicator of message Repeation
Auto Trait Implementations§
impl<M> Freeze for Indicator<M>where
M: Freeze,
impl<M> RefUnwindSafe for Indicator<M>where
M: RefUnwindSafe,
impl<M> Send for Indicator<M>where
M: Send,
impl<M> Sync for Indicator<M>where
M: Sync,
impl<M> Unpin for Indicator<M>where
M: Unpin,
impl<M> UnsafeUnpin for Indicator<M>where
M: UnsafeUnpin,
impl<M> UnwindSafe for Indicator<M>where
M: UnwindSafe,
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