Struct mysql_common::packets::ProgressReport
[−]
[src]
pub struct ProgressReport<'a> { /* fields omitted */ }
Progress report information (may be in an error packet of MariaDB server).
Methods
impl<'a> ProgressReport<'a>
[src]
fn stage(&self) -> u8
1 to max_stage
fn max_stage(&self) -> u8
fn progress(&self) -> u32
Progress as '% * 1000'
fn stage_info_ref(&self) -> &[u8]
Status or state name as a byte slice.
fn stage_info_str(&self) -> Cow<str>
Status or state name as a string (lossy converted).
fn into_owned(self) -> ProgressReport<'static>
Trait Implementations
impl<'a> Debug for ProgressReport<'a>
[src]
impl<'a> PartialEq for ProgressReport<'a>
[src]
fn eq(&self, __arg_0: &ProgressReport<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ProgressReport<'a>) -> bool
This method tests for !=
.
impl<'a> Clone for ProgressReport<'a>
[src]
fn clone(&self) -> ProgressReport<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more