pub enum GoaError {
DBus(Error),
Url(UrlError),
NoAccountsFound,
MissingProperty(&'static str),
}Expand description
Errors that can occur when discovering GNOME Online Accounts.
Variants§
DBus(Error)
A D-Bus communication error.
Url(UrlError)
A URL parsing error while determining the server base URL.
NoAccountsFound
No Nextcloud or ownCloud accounts were configured in GNOME Online Accounts.
MissingProperty(&'static str)
A required D-Bus property was missing or not of expected type.
Trait Implementations§
Source§impl Error for GoaError
impl Error for GoaError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for GoaError
impl !UnwindSafe for GoaError
impl Freeze for GoaError
impl Send for GoaError
impl Sync for GoaError
impl Unpin for GoaError
impl UnsafeUnpin for GoaError
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