pub struct YoctoError { /* private fields */ }
Implementations§
Source§impl YoctoError
impl YoctoError
pub fn new( summary: String, kind: YoctoFailureKind, logfile: Option<YoctoFailureLog>, ) -> Self
pub fn summary(&self) -> &str
pub fn kind(&self) -> YoctoFailureKind
pub fn logfile(&self) -> Option<&YoctoFailureLog>
Trait Implementations§
Source§impl Debug for YoctoError
impl Debug for YoctoError
Source§impl Ord for YoctoError
impl Ord for YoctoError
Source§fn cmp(&self, other: &YoctoError) -> Ordering
fn cmp(&self, other: &YoctoError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for YoctoError
impl PartialEq for YoctoError
Source§impl PartialOrd for YoctoError
impl PartialOrd for YoctoError
impl Eq for YoctoError
impl StructuralPartialEq for YoctoError
Auto Trait Implementations§
impl Freeze for YoctoError
impl RefUnwindSafe for YoctoError
impl Send for YoctoError
impl Sync for YoctoError
impl Unpin for YoctoError
impl UnwindSafe for YoctoError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more