Enum glib::boxed_any_object::BorrowError
source · pub enum BorrowError {
InvalidType,
AlreadyBorrowed(BorrowError),
}
Variants§
InvalidType
AlreadyBorrowed(BorrowError)
Trait Implementations§
source§impl Debug for BorrowError
impl Debug for BorrowError
source§impl Display for BorrowError
impl Display for BorrowError
source§impl Error for BorrowError
impl Error for BorrowError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<BorrowError> for BorrowError
impl From<BorrowError> for BorrowError
source§fn from(source: BorrowError) -> Self
fn from(source: BorrowError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BorrowError
impl RefUnwindSafe for BorrowError
impl Send for BorrowError
impl Sync for BorrowError
impl Unpin for BorrowError
impl UnwindSafe for BorrowError
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