Struct mysql_common::packets::ProgressReport
source · pub struct ProgressReport<'a> { /* private fields */ }
Expand description
Progress report information (may be in an error packet of MariaDB server).
Implementations
sourceimpl<'a> ProgressReport<'a>
impl<'a> ProgressReport<'a>
pub fn max_stage(&self) -> u8
sourcepub fn stage_info_ref(&self) -> &[u8]ⓘ
pub fn stage_info_ref(&self) -> &[u8]ⓘ
Status or state name as a byte slice.
sourcepub fn stage_info_str(&self) -> Cow<'_, str>
pub fn stage_info_str(&self) -> Cow<'_, str>
Status or state name as a string (lossy converted).
pub fn into_owned(self) -> ProgressReport<'static>
Trait Implementations
sourceimpl<'a> Clone for ProgressReport<'a>
impl<'a> Clone for ProgressReport<'a>
sourcefn clone(&self) -> ProgressReport<'a>
fn clone(&self) -> ProgressReport<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for ProgressReport<'a>
impl<'a> Debug for ProgressReport<'a>
sourceimpl<'a> Display for ProgressReport<'a>
impl<'a> Display for ProgressReport<'a>
sourceimpl<'a> PartialEq<ProgressReport<'a>> for ProgressReport<'a>
impl<'a> PartialEq<ProgressReport<'a>> for ProgressReport<'a>
sourcefn eq(&self, other: &ProgressReport<'a>) -> bool
fn eq(&self, other: &ProgressReport<'a>) -> bool
impl<'a> StructuralPartialEq for ProgressReport<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ProgressReport<'a>
impl<'a> Send for ProgressReport<'a>
impl<'a> Sync for ProgressReport<'a>
impl<'a> Unpin for ProgressReport<'a>
impl<'a> UnwindSafe for ProgressReport<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more