[−][src]Trait appstream_glib::StoreExt
Required methods
fn add_app<P: IsA<App>>(&self, app: &P)
fn add_filter(&self, kind: AppKind)
fn add_metadata_index(&self, key: &str)
fn convert_icons(&self, kind: IconKind) -> Result<(), Error>
fn from_bytes<P: IsA<Cancellable>>(
&self,
bytes: &Bytes,
cancellable: Option<&P>
) -> Result<(), Error>
&self,
bytes: &Bytes,
cancellable: Option<&P>
) -> Result<(), Error>
fn from_file<P: IsA<File>, Q: IsA<Cancellable>>(
&self,
file: &P,
icon_root: Option<&str>,
cancellable: Option<&Q>
) -> Result<(), Error>
&self,
file: &P,
icon_root: Option<&str>,
cancellable: Option<&Q>
) -> Result<(), Error>
fn from_xml(&self, data: &str, icon_root: Option<&str>) -> Result<(), Error>
fn get_add_flags(&self) -> u32
fn get_api_version(&self) -> f64
fn get_app_by_id(&self, id: &str) -> Option<App>
fn get_app_by_id_ignore_prefix(&self, id: &str) -> Option<App>
fn get_app_by_id_with_fallbacks(&self, id: &str) -> Option<App>
fn get_app_by_launchable(
&self,
kind: LaunchableKind,
value: &str
) -> Option<App>
&self,
kind: LaunchableKind,
value: &str
) -> Option<App>
fn get_app_by_pkgname(&self, pkgname: &str) -> Option<App>
fn get_app_by_provide(&self, kind: ProvideKind, value: &str) -> Option<App>
fn get_app_by_unique_id(
&self,
unique_id: &str,
search_flags: u32
) -> Option<App>
&self,
unique_id: &str,
search_flags: u32
) -> Option<App>
fn get_builder_id(&self) -> Option<GString>
fn get_destdir(&self) -> Option<GString>
fn get_origin(&self) -> Option<GString>
fn get_search_match(&self) -> u16
fn get_size(&self) -> u32
fn get_watch_flags(&self) -> u32
fn load<P: IsA<Cancellable>>(
&self,
flags: u32,
cancellable: Option<&P>
) -> Result<(), Error>
&self,
flags: u32,
cancellable: Option<&P>
) -> Result<(), Error>
fn load_async<P: IsA<Cancellable>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
flags: StoreLoadFlags,
cancellable: Option<&P>,
callback: Q
)
&self,
flags: StoreLoadFlags,
cancellable: Option<&P>,
callback: Q
)
fn load_path<P: IsA<Cancellable>>(
&self,
path: &str,
cancellable: Option<&P>
) -> Result<(), Error>
&self,
path: &str,
cancellable: Option<&P>
) -> Result<(), Error>
fn load_path_async<P: IsA<Cancellable>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
path: &str,
cancellable: Option<&P>,
callback: Q
)
&self,
path: &str,
cancellable: Option<&P>,
callback: Q
)
fn load_search_cache(&self)
fn remove_all(&self)
fn remove_app<P: IsA<App>>(&self, app: &P)
fn remove_app_by_id(&self, id: &str)
fn remove_apps_with_veto(&self)
fn remove_filter(&self, kind: AppKind)
fn set_add_flags(&self, add_flags: u32)
fn set_api_version(&self, api_version: f64)
fn set_builder_id(&self, builder_id: &str)
fn set_destdir(&self, destdir: &str)
fn set_origin(&self, origin: &str)
fn set_search_match(&self, search_match: u16)
fn set_watch_flags(&self, watch_flags: u32)
fn to_file<P: IsA<File>, Q: IsA<Cancellable>>(
&self,
file: &P,
flags: u32,
cancellable: Option<&Q>
) -> Result<(), Error>
&self,
file: &P,
flags: u32,
cancellable: Option<&Q>
) -> Result<(), Error>
fn to_xml(&self, flags: u32) -> Option<String>
fn connect_app_added<F: Fn(&Self, &App) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_app_changed<F: Fn(&Self, &App) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_app_removed<F: Fn(&Self, &App) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_changed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Implementors
impl<O: IsA<Store>> StoreExt for O
[src]
fn add_app<P: IsA<App>>(&self, app: &P)
[src]
fn add_filter(&self, kind: AppKind)
[src]
fn add_metadata_index(&self, key: &str)
[src]
fn convert_icons(&self, kind: IconKind) -> Result<(), Error>
[src]
fn from_bytes<P: IsA<Cancellable>>(
&self,
bytes: &Bytes,
cancellable: Option<&P>
) -> Result<(), Error>
[src]
&self,
bytes: &Bytes,
cancellable: Option<&P>
) -> Result<(), Error>
fn from_file<P: IsA<File>, Q: IsA<Cancellable>>(
&self,
file: &P,
icon_root: Option<&str>,
cancellable: Option<&Q>
) -> Result<(), Error>
[src]
&self,
file: &P,
icon_root: Option<&str>,
cancellable: Option<&Q>
) -> Result<(), Error>
fn from_xml(&self, data: &str, icon_root: Option<&str>) -> Result<(), Error>
[src]
fn get_add_flags(&self) -> u32
[src]
fn get_api_version(&self) -> f64
[src]
fn get_app_by_id(&self, id: &str) -> Option<App>
[src]
fn get_app_by_id_ignore_prefix(&self, id: &str) -> Option<App>
[src]
fn get_app_by_id_with_fallbacks(&self, id: &str) -> Option<App>
[src]
fn get_app_by_launchable(
&self,
kind: LaunchableKind,
value: &str
) -> Option<App>
[src]
&self,
kind: LaunchableKind,
value: &str
) -> Option<App>
fn get_app_by_pkgname(&self, pkgname: &str) -> Option<App>
[src]
fn get_app_by_provide(&self, kind: ProvideKind, value: &str) -> Option<App>
[src]
fn get_app_by_unique_id(
&self,
unique_id: &str,
search_flags: u32
) -> Option<App>
[src]
&self,
unique_id: &str,
search_flags: u32
) -> Option<App>
fn get_builder_id(&self) -> Option<GString>
[src]
fn get_destdir(&self) -> Option<GString>
[src]
fn get_origin(&self) -> Option<GString>
[src]
fn get_search_match(&self) -> u16
[src]
fn get_size(&self) -> u32
[src]
fn get_watch_flags(&self) -> u32
[src]
fn load<P: IsA<Cancellable>>(
&self,
flags: u32,
cancellable: Option<&P>
) -> Result<(), Error>
[src]
&self,
flags: u32,
cancellable: Option<&P>
) -> Result<(), Error>
fn load_async<P: IsA<Cancellable>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
flags: StoreLoadFlags,
cancellable: Option<&P>,
callback: Q
)
[src]
&self,
flags: StoreLoadFlags,
cancellable: Option<&P>,
callback: Q
)
fn load_path<P: IsA<Cancellable>>(
&self,
path: &str,
cancellable: Option<&P>
) -> Result<(), Error>
[src]
&self,
path: &str,
cancellable: Option<&P>
) -> Result<(), Error>
fn load_path_async<P: IsA<Cancellable>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
path: &str,
cancellable: Option<&P>,
callback: Q
)
[src]
&self,
path: &str,
cancellable: Option<&P>,
callback: Q
)
fn load_search_cache(&self)
[src]
fn remove_all(&self)
[src]
fn remove_app<P: IsA<App>>(&self, app: &P)
[src]
fn remove_app_by_id(&self, id: &str)
[src]
fn remove_apps_with_veto(&self)
[src]
fn remove_filter(&self, kind: AppKind)
[src]
fn set_add_flags(&self, add_flags: u32)
[src]
fn set_api_version(&self, api_version: f64)
[src]
fn set_builder_id(&self, builder_id: &str)
[src]
fn set_destdir(&self, destdir: &str)
[src]
fn set_origin(&self, origin: &str)
[src]
fn set_search_match(&self, search_match: u16)
[src]
fn set_watch_flags(&self, watch_flags: u32)
[src]
fn to_file<P: IsA<File>, Q: IsA<Cancellable>>(
&self,
file: &P,
flags: u32,
cancellable: Option<&Q>
) -> Result<(), Error>
[src]
&self,
file: &P,
flags: u32,
cancellable: Option<&Q>
) -> Result<(), Error>
fn to_xml(&self, flags: u32) -> Option<String>
[src]
fn connect_app_added<F: Fn(&Self, &App) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_app_changed<F: Fn(&Self, &App) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_app_removed<F: Fn(&Self, &App) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId