Enum disk_ringbuffer::page::ReadResult
source · pub enum ReadResult<'a> {
Msg(Cow<'a, str>),
Continue,
}
Expand description
a wrapper around read results that contains either the message or informs the reader that it finished reading the page and should open the next one
Variants§
Auto Trait Implementations§
impl<'a> Freeze for ReadResult<'a>
impl<'a> RefUnwindSafe for ReadResult<'a>
impl<'a> Send for ReadResult<'a>
impl<'a> Sync for ReadResult<'a>
impl<'a> Unpin for ReadResult<'a>
impl<'a> UnwindSafe for ReadResult<'a>
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