Struct leechbar::BarError [−][src]
pub struct BarError { pub kind: BarErrorKind, }
Bar creation error.
This error is returned when anything went wrong during the creation of the bar.
Fields
kind: BarErrorKind
Different types of bar creation errors.
Trait Implementations
impl Debug for BarError
[src]
impl Debug for BarError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for BarError
[src]
impl Clone for BarError
fn clone(&self) -> BarError
[src]
fn clone(&self) -> BarError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for BarError
[src]
impl Copy for BarError
impl Hash for BarError
[src]
impl Hash for BarError
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Eq for BarError
[src]
impl Eq for BarError
impl PartialEq for BarError
[src]
impl PartialEq for BarError
fn eq(&self, other: &BarError) -> bool
[src]
fn eq(&self, other: &BarError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &BarError) -> bool
[src]
fn ne(&self, other: &BarError) -> bool
This method tests for !=
.
impl From<BarErrorKind> for BarError
[src]
impl From<BarErrorKind> for BarError
fn from(kind: BarErrorKind) -> BarError
[src]
fn from(kind: BarErrorKind) -> BarError
Performs the conversion.
impl Display for BarError
[src]
impl Display for BarError
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for BarError
[src]
impl Error for BarError