pub enum Message<ValueType: Send, ErrorType: Send> {
Value(ValueType),
Ack(InclusiveMessageRange),
Error(ChannelPosition, ErrorType),
}Variants§
Trait Implementations§
Source§impl<ValueType: Clone + Send, ErrorType: Clone + Send> Clone for Message<ValueType, ErrorType>
impl<ValueType: Clone + Send, ErrorType: Clone + Send> Clone for Message<ValueType, ErrorType>
Source§impl<ValueType: Debug + Send, ErrorType: Debug + Send> Debug for Message<ValueType, ErrorType>
impl<ValueType: Debug + Send, ErrorType: Debug + Send> Debug for Message<ValueType, ErrorType>
impl<ValueType: Copy + Send, ErrorType: Copy + Send> Copy for Message<ValueType, ErrorType>
Auto Trait Implementations§
impl<ValueType, ErrorType> Freeze for Message<ValueType, ErrorType>
impl<ValueType, ErrorType> RefUnwindSafe for Message<ValueType, ErrorType>where
ValueType: RefUnwindSafe,
ErrorType: RefUnwindSafe,
impl<ValueType, ErrorType> Send for Message<ValueType, ErrorType>
impl<ValueType, ErrorType> Sync for Message<ValueType, ErrorType>
impl<ValueType, ErrorType> Unpin for Message<ValueType, ErrorType>
impl<ValueType, ErrorType> UnwindSafe for Message<ValueType, ErrorType>where
ValueType: UnwindSafe,
ErrorType: 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