#[macro_use]
extern crate glib;
extern crate fragile;
extern crate gio;
extern crate gio_sys;
extern crate glib_sys;
extern crate goa_sys;
extern crate gobject_sys;
#[rustfmt::skip]
mod auto;
pub use auto::*;
use std as futures;
#[doc(hidden)]
impl glib::translate::FromGlibPtrFull<*mut glib_sys::GError> for Error {
#[inline]
unsafe fn from_glib_full(ptr: *mut glib_sys::GError) -> Self {
match (*ptr).code {
goa_sys::GOA_ERROR_FAILED => Error::Failed,
goa_sys::GOA_ERROR_NOT_SUPPORTED => Error::NotSupported,
goa_sys::GOA_ERROR_DIALOG_DISMISSED => Error::DialogDismissed,
goa_sys::GOA_ERROR_ACCOUNT_EXISTS => Error::AccountExists,
goa_sys::GOA_ERROR_NOT_AUTHORIZED => Error::NotAuthorized,
goa_sys::GOA_ERROR_SSL => Error::Ssl,
value => Error::__Unknown(value),
}
}
}