Enum relm4::MicroComponentError 
source · pub enum MicroComponentError {
    Borrow(BorrowError),
    BorrowMut(BorrowMutError),
}Expand description
Errors which might get returned from MicroComponent::update_view method
Both std::fmt::Display and std::fmt::Debug are implemented for this
enum so if you just would like to show an error you don’t need to do the
matching.
Variants§
Borrow(BorrowError)
Error returned if borrow failed
BorrowMut(BorrowMutError)
Error returned if borrowing mutably failed
Trait Implementations§
source§impl Debug for MicroComponentError
 
impl Debug for MicroComponentError
source§impl Display for MicroComponentError
 
impl Display for MicroComponentError
Formats MicroComponentError for empty format {}
This allows you to print errors without doing matching or if let statements
source§impl From<BorrowError> for MicroComponentError
 
impl From<BorrowError> for MicroComponentError
Helper to convert values of std::cell::BorrowError into MicroComponentError
source§fn from(err: BorrowError) -> Self
 
fn from(err: BorrowError) -> Self
Converts to this type from the input type.
source§impl From<BorrowMutError> for MicroComponentError
 
impl From<BorrowMutError> for MicroComponentError
Helper to convert values of std::cell::BorrowMutError into MicroComponentError
source§fn from(err: BorrowMutError) -> Self
 
fn from(err: BorrowMutError) -> Self
Converts to this type from the input type.