MoonBit bindings for GIO (Application, File, D-Bus, streams, sockets, etc.)
Dependencies
| Type | Description |
|---|---|
| Application | Base application class (subclassed by @gtk.Application) |
| File | File and directory operations |
| Cancellable | Operation cancellation |
| DBusConnection | D-Bus messaging |
| Settings | GSettings-based configuration |
| InputStream / OutputStream | Stream I/O |
| ListStore | List-based data model |
| Socket | Low-level network sockets |
pub(open) trait IActionGroup {
fn as_action_group(Self) -> ActionGroup
fn action_added(Self, String) -> Unit = _
fn action_enabled_changed(Self, String, Bool) -> Unit = _
fn action_removed(Self, String) -> Unit = _
fn action_state_changed(Self, String, &IVariant) -> Unit = _
fn activate_action(Self, String, &IVariant?) -> Unit = _
fn change_action_state(Self, String, &IVariant) -> Unit = _
fn get_action_enabled(Self, String) -> Bool = _
fn get_action_state(Self, String) -> Variant? = _
fn get_action_state_hint(Self, String) -> Variant? = _
fn has_action(Self, String) -> Bool = _
}pub(open) trait IAppInfo {
fn as_app_info(Self) -> AppInfo
fn add_supports_type(Self, String) -> Bool raise Error_ = _
fn can_delete(Self) -> Bool = _
fn can_remove_supports_type(Self) -> Bool = _
fn delete(Self) -> Bool = _
fn dup(Self) -> AppInfo = _
fn equal(Self, &IAppInfo) -> Bool = _
fn get_commandline(Self) -> String? = _
fn get_description(Self) -> String? = _
fn get_display_name(Self) -> String = _
fn get_executable(Self) -> String = _
fn get_icon(Self) -> Icon? = _
fn get_id(Self) -> String? = _
fn get_name(Self) -> String = _
fn launch_uris_finish(Self, &IAsyncResult) -> Bool raise Error_ = _
fn remove_supports_type(Self, String) -> Bool raise Error_ = _
fn set_as_default_for_extension(Self, String) -> Bool raise Error_ = _
fn set_as_default_for_type(Self, String) -> Bool raise Error_ = _
fn set_as_last_used_for_type(Self, String) -> Bool raise Error_ = _
fn should_show(Self) -> Bool = _
fn supports_files(Self) -> Bool = _
fn supports_uris(Self) -> Bool = _
}pub(open) trait IAppInfoMonitor {
fn as_app_info_monitor(Self) -> AppInfoMonitor
fn connect_changed(Self, (AppInfoMonitor) -> Unit) -> UInt64 = _
}pub(open) trait IAppLaunchContext {
fn as_app_launch_context(Self) -> AppLaunchContext
fn get_display(Self, &IAppInfo, Array[File]) -> String? = _
fn launch_failed(Self, String) -> Unit = _
fn setenv(Self, String, String) -> Unit = _
fn unsetenv(Self, String) -> Unit = _
fn connect_launch_failed(Self, (AppLaunchContext, String) -> Unit) -> UInt64 = _
fn connect_launch_started(Self, (AppLaunchContext, AppInfo, Variant?) -> Unit) -> UInt64 = _
fn connect_launched(Self, (AppLaunchContext, AppInfo, Variant) -> Unit) -> UInt64 = _
}pub(open) trait IApplication {
fn as_application(Self) -> Application
fn activate(Self) -> Unit = _
fn bind_busy_property(Self, &IObject, String) -> Unit = _
fn get_application_id(Self) -> String? = _
fn get_dbus_connection(Self) -> DBusConnection? = _
fn get_dbus_object_path(Self) -> String? = _
fn get_flags(Self) -> ApplicationFlags = _
fn get_inactivity_timeout(Self) -> UInt = _
fn get_is_busy(Self) -> Bool = _
fn get_is_registered(Self) -> Bool = _
fn get_is_remote(Self) -> Bool = _
fn get_resource_base_path(Self) -> String? = _
fn get_version(Self) -> String? = _
fn hold(Self) -> Unit = _
fn mark_busy(Self) -> Unit = _
fn quit(Self) -> Unit = _
fn register(Self, &ICancellable?) -> Bool raise Error_ = _
fn release(Self) -> Unit = _
fn run(Self, Int, Array[String]?) -> Int = _
fn send_notification(Self, String?, &INotification) -> Unit = _
fn set_application_id(Self, String?) -> Unit = _
fn set_default(Self) -> Unit = _
fn set_flags(Self, ApplicationFlags) -> Unit = _
fn set_inactivity_timeout(Self, UInt) -> Unit = _
fn set_option_context_description(Self, String?) -> Unit = _
fn set_option_context_parameter_string(Self, String?) -> Unit = _
fn set_option_context_summary(Self, String?) -> Unit = _
fn set_resource_base_path(Self, String?) -> Unit = _
fn set_version(Self, String) -> Unit = _
fn unbind_busy_property(Self, &IObject, String) -> Unit = _
fn unmark_busy(Self) -> Unit = _
fn withdraw_notification(Self, String) -> Unit = _
fn connect_activate(Self, (Application) -> Unit) -> UInt64 = _
fn connect_name_lost(Self, (Application) -> Bool) -> UInt64 = _
fn connect_shutdown(Self, (Application) -> Unit) -> UInt64 = _
fn connect_startup(Self, (Application) -> Unit) -> UInt64 = _
}pub(open) trait IApplicationCommandLine {
fn as_application_command_line(Self) -> ApplicationCommandLine
fn create_file_for_arg(Self, String) -> File = _
fn done(Self) -> Unit = _
fn get_cwd(Self) -> String? = _
fn get_exit_status(Self) -> Int = _
fn get_is_remote(Self) -> Bool = _
fn get_platform_data(Self) -> Variant? = _
fn get_stdin(Self) -> InputStream? = _
fn getenv(Self, String) -> String? = _
fn print_literal(Self, String) -> Unit = _
fn printerr_literal(Self, String) -> Unit = _
fn set_exit_status(Self, Int) -> Unit = _
}pub(open) trait IAsyncInitable {
fn as_async_initable(Self) -> AsyncInitable
fn new_finish(Self, &IAsyncResult) -> Object raise Error_ = _
fn init_async(Self, Int, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
}pub(open) trait IAsyncResult {
fn as_async_result(Self) -> AsyncResult
fn get_source_object(Self) -> Object? = _
fn legacy_propagate_error(Self) -> Bool raise Error_ = _
}pub(open) trait IBufferedInputStream {
fn as_buffered_input_stream(Self) -> BufferedInputStream
fn fill(Self, Int64, &ICancellable?) -> Int64 raise Error_ = _
fn get_available(Self) -> UInt64 = _
fn get_buffer_size(Self) -> UInt64 = _
fn read_byte(Self, &ICancellable?) -> Int raise Error_ = _
fn set_buffer_size(Self, UInt64) -> Unit = _
fn fill_async(Self, Int64, Int, &ICancellable?, (Result[Int64, Error_]) -> Unit) -> Unit = _
}pub(open) trait IBufferedOutputStream {
fn as_buffered_output_stream(Self) -> BufferedOutputStream
fn get_auto_grow(Self) -> Bool = _
fn get_buffer_size(Self) -> UInt64 = _
fn set_auto_grow(Self, Bool) -> Unit = _
fn set_buffer_size(Self, UInt64) -> Unit = _
}pub(open) trait ICancellable {
fn as_cancellable(Self) -> Cancellable
fn cancel(Self) -> Unit = _
fn disconnect(Self, UInt64) -> Unit = _
fn get_fd(Self) -> Int = _
fn is_cancelled(Self) -> Bool = _
fn pop_current(Self) -> Unit = _
fn push_current(Self) -> Unit = _
fn release_fd(Self) -> Unit = _
fn reset(Self) -> Unit = _
fn set_error_if_cancelled(Self) -> Bool raise Error_ = _
fn connect_cancelled(Self, (Cancellable) -> Unit) -> UInt64 = _
fn connect(Self, () -> Unit) -> Unit = _
}pub(open) trait ICharsetConverter {
fn as_charset_converter(Self) -> CharsetConverter
fn get_num_fallbacks(Self) -> UInt = _
fn get_use_fallback(Self) -> Bool = _
fn set_use_fallback(Self, Bool) -> Unit = _
}pub(open) trait IConverterInputStream {
fn as_converter_input_stream(Self) -> ConverterInputStream
fn get_converter(Self) -> Converter = _
}pub(open) trait IConverterOutputStream {
fn as_converter_output_stream(Self) -> ConverterOutputStream
fn get_converter(Self) -> Converter = _
}pub(open) trait ICredentials {
fn as_credentials(Self) -> Credentials
fn is_same_user(Self, &ICredentials) -> Bool raise Error_ = _
fn to_string(Self) -> String = _
}pub(open) trait IDBusAuthObserver {
fn as_dbus_auth_observer(Self) -> DBusAuthObserver
fn allow_mechanism(Self, String) -> Bool = _
fn authorize_authenticated_peer(Self, &IIOStream, &ICredentials?) -> Bool = _
fn connect_allow_mechanism(Self, (DBusAuthObserver, String) -> Bool) -> UInt64 = _
fn connect_authorize_authenticated_peer(Self, (DBusAuthObserver, IOStream, Credentials?) -> Bool) -> UInt64 = _
}pub(open) trait IDBusConnection {
fn as_dbus_connection(Self) -> DBusConnection
fn call_finish(Self, &IAsyncResult) -> Variant raise Error_ = _
fn close_sync(Self, &ICancellable?) -> Bool raise Error_ = _
fn emit_signal(Self, String?, String, String, String, &IVariant?) -> Bool raise Error_ = _
fn export_action_group(Self, String, &IActionGroup) -> UInt raise Error_ = _
fn export_menu_model(Self, String, &IMenuModel) -> UInt raise Error_ = _
fn flush_sync(Self, &ICancellable?) -> Bool raise Error_ = _
fn get_capabilities(Self) -> DBusCapabilityFlags = _
fn get_exit_on_close(Self) -> Bool = _
fn get_flags(Self) -> DBusConnectionFlags = _
fn get_guid(Self) -> String = _
fn get_last_serial(Self) -> UInt = _
fn get_peer_credentials(Self) -> Credentials? = _
fn get_stream(Self) -> IOStream = _
fn get_unique_name(Self) -> String? = _
fn is_closed(Self) -> Bool = _
fn remove_filter(Self, UInt) -> Unit = _
fn send_message(Self, &IDBusMessage, DBusSendMessageFlags) -> (Bool, UInt) raise Error_ = _
fn send_message_with_reply_finish(Self, &IAsyncResult) -> DBusMessage raise Error_ = _
fn send_message_with_reply_sync(Self, &IDBusMessage, DBusSendMessageFlags, Int, &ICancellable?) -> (DBusMessage, UInt) raise Error_ = _
fn set_exit_on_close(Self, Bool) -> Unit = _
fn signal_unsubscribe(Self, UInt) -> Unit = _
fn start_message_processing(Self) -> Unit = _
fn unexport_action_group(Self, UInt) -> Unit = _
fn unexport_menu_model(Self, UInt) -> Unit = _
fn unregister_object(Self, UInt) -> Bool = _
fn unregister_subtree(Self, UInt) -> Bool = _
fn close(Self, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
fn flush(Self, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
fn signal_subscribe(Self, String?, String?, String?, String?, String?, DBusSignalFlags, (DBusConnection, String?, String, String, String, Variant) -> Unit) -> Unit = _
}pub(open) trait IDBusInterface {
fn as_dbus_interface(Self) -> DBusInterface
fn dup_object(Self) -> DBusObject? = _
fn set_object(Self, &IDBusObject?) -> Unit = _
}pub(open) trait IDBusInterfaceSkeleton {
fn as_dbus_interface_skeleton(Self) -> DBusInterfaceSkeleton
fn export_(Self, &IDBusConnection, String) -> Bool raise Error_ = _
fn flush(Self) -> Unit = _
fn get_connection(Self) -> DBusConnection? = _
fn get_connections(Self) -> Array[DBusConnection] = _
fn get_flags(Self) -> DBusInterfaceSkeletonFlags = _
fn get_object_path(Self) -> String? = _
fn get_properties(Self) -> Variant = _
fn has_connection(Self, &IDBusConnection) -> Bool = _
fn set_flags(Self, DBusInterfaceSkeletonFlags) -> Unit = _
fn unexport(Self) -> Unit = _
fn unexport_from_connection(Self, &IDBusConnection) -> Unit = _
fn connect_g_authorize_method(Self, (DBusInterfaceSkeleton, DBusMethodInvocation) -> Bool) -> UInt64 = _
}pub(open) trait IDBusMessage {
fn as_dbus_message(Self) -> DBusMessage
fn copy(Self) -> DBusMessage raise Error_ = _
fn get_arg0(Self) -> String? = _
fn get_arg0_path(Self) -> String? = _
fn get_body(Self) -> Variant? = _
fn get_byte_order(Self) -> DBusMessageByteOrder = _
fn get_destination(Self) -> String? = _
fn get_error_name(Self) -> String? = _
fn get_flags(Self) -> DBusMessageFlags = _
fn get_header(Self, DBusMessageHeaderField) -> Variant? = _
fn get_interface(Self) -> String? = _
fn get_locked(Self) -> Bool = _
fn get_member(Self) -> String? = _
fn get_message_type(Self) -> DBusMessageType = _
fn get_num_unix_fds(Self) -> UInt = _
fn get_path(Self) -> String? = _
fn get_reply_serial(Self) -> UInt = _
fn get_sender(Self) -> String? = _
fn get_serial(Self) -> UInt = _
fn get_signature(Self) -> String = _
fn get_unix_fd_list(Self) -> UnixFDList? = _
fn lock(Self) -> Unit = _
fn new_method_error_literal(Self, String, String) -> DBusMessage = _
fn new_method_reply(Self) -> DBusMessage = _
fn print(Self, UInt) -> String = _
fn set_body(Self, &IVariant) -> Unit = _
fn set_byte_order(Self, DBusMessageByteOrder) -> Unit = _
fn set_destination(Self, String?) -> Unit = _
fn set_error_name(Self, String) -> Unit = _
fn set_flags(Self, DBusMessageFlags) -> Unit = _
fn set_header(Self, DBusMessageHeaderField, &IVariant?) -> Unit = _
fn set_interface(Self, String?) -> Unit = _
fn set_member(Self, String?) -> Unit = _
fn set_message_type(Self, DBusMessageType) -> Unit = _
fn set_num_unix_fds(Self, UInt) -> Unit = _
fn set_path(Self, String?) -> Unit = _
fn set_reply_serial(Self, UInt) -> Unit = _
fn set_sender(Self, String?) -> Unit = _
fn set_serial(Self, UInt) -> Unit = _
fn set_signature(Self, String?) -> Unit = _
fn set_unix_fd_list(Self, &IUnixFDList?) -> Unit = _
fn to_gerror(Self) -> Bool raise Error_ = _
}pub(open) trait IDBusMethodInvocation {
fn as_dbus_method_invocation(Self) -> DBusMethodInvocation
fn get_connection(Self) -> DBusConnection = _
fn get_interface_name(Self) -> String? = _
fn get_message(Self) -> DBusMessage = _
fn get_method_name(Self) -> String = _
fn get_object_path(Self) -> String = _
fn get_parameters(Self) -> Variant = _
fn get_sender(Self) -> String? = _
fn return_dbus_error(Self, String, String) -> Unit = _
fn return_error_literal(Self, UInt, Int, String) -> Unit = _
fn return_value(Self, &IVariant?) -> Unit = _
fn return_value_with_unix_fd_list(Self, &IVariant?, &IUnixFDList?) -> Unit = _
}pub(open) trait IDBusObject {
fn as_dbus_object(Self) -> DBusObject
fn get_interface(Self, String) -> DBusInterface? = _
fn get_interfaces(Self) -> Array[DBusInterface] = _
fn get_object_path(Self) -> String = _
}pub(open) trait IDBusObjectManager {
fn as_dbus_object_manager(Self) -> DBusObjectManager
fn get_interface(Self, String, String) -> DBusInterface? = _
fn get_object(Self, String) -> DBusObject? = _
fn get_object_path(Self) -> String = _
fn get_objects(Self) -> Array[DBusObject] = _
}pub(open) trait IDBusObjectManagerClient {
fn as_dbus_object_manager_client(Self) -> DBusObjectManagerClient
fn get_connection(Self) -> DBusConnection = _
fn get_flags(Self) -> DBusObjectManagerClientFlags = _
fn get_name(Self) -> String = _
fn get_name_owner(Self) -> String? = _
fn connect_interface_proxy_signal(Self, (DBusObjectManagerClient, DBusObjectProxy, DBusProxy, String, String, Variant) -> Unit) -> UInt64 = _
}pub(open) trait IDBusObjectManagerServer {
fn as_dbus_object_manager_server(Self) -> DBusObjectManagerServer
fn export_(Self, &IDBusObjectSkeleton) -> Unit = _
fn export_uniquely(Self, &IDBusObjectSkeleton) -> Unit = _
fn get_connection(Self) -> DBusConnection? = _
fn is_exported(Self, &IDBusObjectSkeleton) -> Bool = _
fn set_connection(Self, &IDBusConnection?) -> Unit = _
fn unexport(Self, String) -> Bool = _
}pub(open) trait IDBusObjectProxy {
fn as_dbus_object_proxy(Self) -> DBusObjectProxy
fn get_connection(Self) -> DBusConnection = _
}pub(open) trait IDBusObjectSkeleton {
fn as_dbus_object_skeleton(Self) -> DBusObjectSkeleton
fn add_interface(Self, &IDBusInterfaceSkeleton) -> Unit = _
fn flush(Self) -> Unit = _
fn remove_interface(Self, &IDBusInterfaceSkeleton) -> Unit = _
fn remove_interface_by_name(Self, String) -> Unit = _
fn set_object_path(Self, String) -> Unit = _
fn connect_authorize_method(Self, (DBusObjectSkeleton, DBusInterfaceSkeleton, DBusMethodInvocation) -> Bool) -> UInt64 = _
}pub(open) trait IDBusProxy {
fn as_dbus_proxy(Self) -> DBusProxy
fn call_sync(Self, String, &IVariant?, DBusCallFlags, Int, &ICancellable?) -> Variant raise Error_ = _
fn get_cached_property(Self, String) -> Variant? = _
fn get_connection(Self) -> DBusConnection = _
fn get_default_timeout(Self) -> Int = _
fn get_flags(Self) -> DBusProxyFlags = _
fn get_interface_name(Self) -> String = _
fn get_name(Self) -> String? = _
fn get_name_owner(Self) -> String? = _
fn get_object_path(Self) -> String = _
fn set_cached_property(Self, String, &IVariant?) -> Unit = _
fn set_default_timeout(Self, Int) -> Unit = _
fn call(Self, String, &IVariant?, DBusCallFlags, Int, &ICancellable?, (Result[Variant, Error_]) -> Unit) -> Unit = _
}pub(open) trait IDBusServer {
fn as_dbus_server(Self) -> DBusServer
fn get_client_address(Self) -> String = _
fn get_flags(Self) -> DBusServerFlags = _
fn get_guid(Self) -> String = _
fn is_active(Self) -> Bool = _
fn start(Self) -> Unit = _
fn stop(Self) -> Unit = _
fn connect_new_connection(Self, (DBusServer, DBusConnection) -> Bool) -> UInt64 = _
}pub(open) trait IDataInputStream {
fn as_data_input_stream(Self) -> DataInputStream
fn get_byte_order(Self) -> DataStreamByteOrder = _
fn get_newline_type(Self) -> DataStreamNewlineType = _
fn read_byte(Self, &ICancellable?) -> UInt raise Error_ = _
fn read_int16(Self, &ICancellable?) -> Int raise Error_ = _
fn read_int32(Self, &ICancellable?) -> Int raise Error_ = _
fn read_int64(Self, &ICancellable?) -> Int64 raise Error_ = _
fn read_line_finish_utf8(Self, &IAsyncResult) -> (String?, UInt64) raise Error_ = _
fn read_line_utf8(Self, &ICancellable?) -> (String?, UInt64) raise Error_ = _
fn read_uint16(Self, &ICancellable?) -> UInt raise Error_ = _
fn read_uint32(Self, &ICancellable?) -> UInt raise Error_ = _
fn read_uint64(Self, &ICancellable?) -> UInt64 raise Error_ = _
fn read_upto(Self, String, Int64, &ICancellable?) -> (String, UInt64) raise Error_ = _
fn set_byte_order(Self, DataStreamByteOrder) -> Unit = _
fn set_newline_type(Self, DataStreamNewlineType) -> Unit = _
fn read_upto_async(Self, String, Int64, Int, &ICancellable?, (Result[(String, UInt64), Error_]) -> Unit) -> Unit = _
}pub(open) trait IDataOutputStream {
fn as_data_output_stream(Self) -> DataOutputStream
fn get_byte_order(Self) -> DataStreamByteOrder = _
fn put_byte(Self, UInt, &ICancellable?) -> Bool raise Error_ = _
fn put_int16(Self, Int, &ICancellable?) -> Bool raise Error_ = _
fn put_int32(Self, Int, &ICancellable?) -> Bool raise Error_ = _
fn put_int64(Self, Int64, &ICancellable?) -> Bool raise Error_ = _
fn put_string(Self, String, &ICancellable?) -> Bool raise Error_ = _
fn put_uint16(Self, UInt, &ICancellable?) -> Bool raise Error_ = _
fn put_uint32(Self, UInt, &ICancellable?) -> Bool raise Error_ = _
fn put_uint64(Self, UInt64, &ICancellable?) -> Bool raise Error_ = _
fn set_byte_order(Self, DataStreamByteOrder) -> Unit = _
}pub(open) trait IDatagramBased {
fn as_datagram_based(Self) -> DatagramBased
fn condition_check(Self, IOCondition) -> IOCondition = _
fn condition_wait(Self, IOCondition, Int64, &ICancellable?) -> Bool raise Error_ = _
}pub(open) trait IDebugController {
fn as_debug_controller(Self) -> DebugController
fn get_debug_enabled(Self) -> Bool = _
fn set_debug_enabled(Self, Bool) -> Unit = _
}pub(open) trait IDebugControllerDBus {
fn as_debug_controller_dbus(Self) -> DebugControllerDBus
fn stop(Self) -> Unit = _
fn connect_authorize(Self, (DebugControllerDBus, DBusMethodInvocation) -> Bool) -> UInt64 = _
}pub(open) trait IDrive {
fn as_drive(Self) -> Drive
fn can_eject(Self) -> Bool = _
fn can_poll_for_media(Self) -> Bool = _
fn can_start(Self) -> Bool = _
fn can_start_degraded(Self) -> Bool = _
fn can_stop(Self) -> Bool = _
fn get_icon(Self) -> Icon = _
fn get_identifier(Self, String) -> String? = _
fn get_name(Self) -> String = _
fn get_sort_key(Self) -> String? = _
fn get_start_stop_type(Self) -> DriveStartStopType = _
fn get_symbolic_icon(Self) -> Icon = _
fn get_volumes(Self) -> Array[Volume] = _
fn has_media(Self) -> Bool = _
fn has_volumes(Self) -> Bool = _
fn is_media_check_automatic(Self) -> Bool = _
fn is_media_removable(Self) -> Bool = _
fn is_removable(Self) -> Bool = _
fn eject_with_operation(Self, MountUnmountFlags, &IMountOperation?, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
fn poll_for_media(Self, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
fn start(Self, DriveStartFlags, &IMountOperation?, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
fn stop(Self, MountUnmountFlags, &IMountOperation?, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
}pub(open) trait IDtlsClientConnection {
fn as_dtls_client_connection(Self) -> DtlsClientConnection
fn get_server_identity(Self) -> SocketConnectable = _
fn set_server_identity(Self, &ISocketConnectable) -> Unit = _
}pub(open) trait IDtlsConnection {
fn as_dtls_connection(Self) -> DtlsConnection
fn close(Self, &ICancellable?) -> Bool raise Error_ = _
fn emit_accept_certificate(Self, &ITlsCertificate, TlsCertificateFlags) -> Bool = _
fn get_certificate(Self) -> TlsCertificate? = _
fn get_ciphersuite_name(Self) -> String? = _
fn get_database(Self) -> TlsDatabase? = _
fn get_interaction(Self) -> TlsInteraction? = _
fn get_negotiated_protocol(Self) -> String? = _
fn get_peer_certificate(Self) -> TlsCertificate? = _
fn get_peer_certificate_errors(Self) -> TlsCertificateFlags = _
fn get_protocol_version(Self) -> TlsProtocolVersion = _
fn get_require_close_notify(Self) -> Bool = _
fn handshake(Self, &ICancellable?) -> Bool raise Error_ = _
fn set_advertised_protocols(Self, Array[String]?) -> Unit = _
fn set_certificate(Self, &ITlsCertificate) -> Unit = _
fn set_database(Self, &ITlsDatabase?) -> Unit = _
fn set_interaction(Self, &ITlsInteraction?) -> Unit = _
fn set_require_close_notify(Self, Bool) -> Unit = _
fn shutdown(Self, Bool, Bool, &ICancellable?) -> Bool raise Error_ = _
fn close_async(Self, Int, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
fn handshake_async(Self, Int, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
fn shutdown_async(Self, Bool, Bool, Int, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
}pub(open) trait IEmblem {
fn as_emblem(Self) -> Emblem
fn get_icon(Self) -> Icon = _
fn get_origin(Self) -> EmblemOrigin = _
}pub(open) trait IEmblemedIcon {
fn as_emblemed_icon(Self) -> EmblemedIcon
fn add_emblem(Self, &IEmblem) -> Unit = _
fn clear_emblems(Self) -> Unit = _
fn get_emblems(Self) -> Array[Emblem] = _
fn get_icon(Self) -> Icon = _
}pub(open) trait IFile {
fn as_file(Self) -> File
fn append_to(Self, FileCreateFlags, &ICancellable?) -> FileOutputStream raise Error_ = _
fn build_attribute_list_for_copy(Self, FileCopyFlags, &ICancellable?) -> String raise Error_ = _
fn copy_attributes(Self, &IFile, FileCopyFlags, &ICancellable?) -> Bool raise Error_ = _
fn copy_finish(Self, &IAsyncResult) -> Bool raise Error_ = _
fn create(Self, FileCreateFlags, &ICancellable?) -> FileOutputStream raise Error_ = _
fn create_readwrite(Self, FileCreateFlags, &ICancellable?) -> FileIOStream raise Error_ = _
fn delete(Self, &ICancellable?) -> Bool raise Error_ = _
fn dup(Self) -> File = _
fn enumerate_children(Self, String, FileQueryInfoFlags, &ICancellable?) -> FileEnumerator raise Error_ = _
fn equal(Self, &IFile) -> Bool = _
fn find_enclosing_mount(Self, &ICancellable?) -> Mount raise Error_ = _
fn get_basename(Self) -> String? = _
fn get_child(Self, String) -> File = _
fn get_child_for_display_name(Self, String) -> File raise Error_ = _
fn get_parent(Self) -> File? = _
fn get_parse_name(Self) -> String = _
fn get_path(Self) -> String? = _
fn get_relative_path(Self, &IFile) -> String? = _
fn get_uri(Self) -> String = _
fn get_uri_scheme(Self) -> String? = _
fn has_parent(Self, &IFile?) -> Bool = _
fn has_prefix(Self, &IFile) -> Bool = _
fn has_uri_scheme(Self, String) -> Bool = _
fn hash(Self) -> UInt = _
fn is_native(Self) -> Bool = _
fn load_bytes(Self, &ICancellable?) -> (Bytes, String?) raise Error_ = _
fn load_bytes_finish(Self, &IAsyncResult) -> (Bytes, String?) raise Error_ = _
fn make_directory(Self, &ICancellable?) -> Bool raise Error_ = _
fn make_directory_with_parents(Self, &ICancellable?) -> Bool raise Error_ = _
fn make_symbolic_link(Self, String, &ICancellable?) -> Bool raise Error_ = _
fn measure_disk_usage_finish(Self, &IAsyncResult) -> (Bool, UInt64, UInt64, UInt64) raise Error_ = _
fn monitor(Self, FileMonitorFlags, &ICancellable?) -> FileMonitor raise Error_ = _
fn monitor_directory(Self, FileMonitorFlags, &ICancellable?) -> FileMonitor raise Error_ = _
fn monitor_file(Self, FileMonitorFlags, &ICancellable?) -> FileMonitor raise Error_ = _
fn move_finish(Self, &IAsyncResult) -> Bool raise Error_ = _
fn open_readwrite(Self, &ICancellable?) -> FileIOStream raise Error_ = _
fn peek_path(Self) -> String? = _
fn query_default_handler(Self, &ICancellable?) -> AppInfo raise Error_ = _
fn query_exists(Self, &ICancellable?) -> Bool = _
fn query_file_type(Self, FileQueryInfoFlags, &ICancellable?) -> FileType = _
fn query_filesystem_info(Self, String, &ICancellable?) -> FileInfo raise Error_ = _
fn query_info(Self, String, FileQueryInfoFlags, &ICancellable?) -> FileInfo raise Error_ = _
fn read(Self, &ICancellable?) -> FileInputStream raise Error_ = _
fn replace(Self, String?, Bool, FileCreateFlags, &ICancellable?) -> FileOutputStream raise Error_ = _
fn replace_contents_finish(Self, &IAsyncResult) -> (Bool, String?) raise Error_ = _
fn replace_readwrite(Self, String?, Bool, FileCreateFlags, &ICancellable?) -> FileIOStream raise Error_ = _
fn resolve_relative_path(Self, String) -> File = _
fn set_attribute_byte_string(Self, String, String, FileQueryInfoFlags, &ICancellable?) -> Bool raise Error_ = _
fn set_attribute_int32(Self, String, Int, FileQueryInfoFlags, &ICancellable?) -> Bool raise Error_ = _
fn set_attribute_int64(Self, String, Int64, FileQueryInfoFlags, &ICancellable?) -> Bool raise Error_ = _
fn set_attribute_string(Self, String, String, FileQueryInfoFlags, &ICancellable?) -> Bool raise Error_ = _
fn set_attribute_uint32(Self, String, UInt, FileQueryInfoFlags, &ICancellable?) -> Bool raise Error_ = _
fn set_attribute_uint64(Self, String, UInt64, FileQueryInfoFlags, &ICancellable?) -> Bool raise Error_ = _
fn set_attributes_from_info(Self, &IFileInfo, FileQueryInfoFlags, &ICancellable?) -> Bool raise Error_ = _
fn set_display_name(Self, String, &ICancellable?) -> File raise Error_ = _
fn supports_thread_contexts(Self) -> Bool = _
fn trash(Self, &ICancellable?) -> Bool raise Error_ = _
fn append_to_async(Self, FileCreateFlags, Int, &ICancellable?, (Result[FileOutputStream, Error_]) -> Unit) -> Unit = _
fn create_async(Self, FileCreateFlags, Int, &ICancellable?, (Result[FileOutputStream, Error_]) -> Unit) -> Unit = _
fn create_readwrite_async(Self, FileCreateFlags, Int, &ICancellable?, (Result[FileIOStream, Error_]) -> Unit) -> Unit = _
fn delete_async(Self, Int, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
fn eject_mountable_with_operation(Self, MountUnmountFlags, &IMountOperation?, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
fn enumerate_children_async(Self, String, FileQueryInfoFlags, Int, &ICancellable?, (Result[FileEnumerator, Error_]) -> Unit) -> Unit = _
fn find_enclosing_mount_async(Self, Int, &ICancellable?, (Result[Mount, Error_]) -> Unit) -> Unit = _
fn make_directory_async(Self, Int, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
fn make_symbolic_link_async(Self, String, Int, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
fn mount_enclosing_volume(Self, MountMountFlags, &IMountOperation?, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
fn mount_mountable(Self, MountMountFlags, &IMountOperation?, &ICancellable?, (Result[File, Error_]) -> Unit) -> Unit = _
fn open_readwrite_async(Self, Int, &ICancellable?, (Result[FileIOStream, Error_]) -> Unit) -> Unit = _
fn poll_mountable(Self, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
fn query_default_handler_async(Self, Int, &ICancellable?, (Result[AppInfo, Error_]) -> Unit) -> Unit = _
fn query_filesystem_info_async(Self, String, Int, &ICancellable?, (Result[FileInfo, Error_]) -> Unit) -> Unit = _
fn query_info_async(Self, String, FileQueryInfoFlags, Int, &ICancellable?, (Result[FileInfo, Error_]) -> Unit) -> Unit = _
fn read_async(Self, Int, &ICancellable?, (Result[FileInputStream, Error_]) -> Unit) -> Unit = _
fn replace_async(Self, String?, Bool, FileCreateFlags, Int, &ICancellable?, (Result[FileOutputStream, Error_]) -> Unit) -> Unit = _
fn replace_readwrite_async(Self, String?, Bool, FileCreateFlags, Int, &ICancellable?, (Result[FileIOStream, Error_]) -> Unit) -> Unit = _
fn set_display_name_async(Self, String, Int, &ICancellable?, (Result[File, Error_]) -> Unit) -> Unit = _
fn start_mountable(Self, DriveStartFlags, &IMountOperation?, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
fn stop_mountable(Self, MountUnmountFlags, &IMountOperation?, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
fn trash_async(Self, Int, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
fn unmount_mountable_with_operation(Self, MountUnmountFlags, &IMountOperation?, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
}pub(open) trait IFileEnumerator {
fn as_file_enumerator(Self) -> FileEnumerator
fn close(Self, &ICancellable?) -> Bool raise Error_ = _
fn get_child(Self, &IFileInfo) -> File = _
fn get_container(Self) -> File = _
fn has_pending(Self) -> Bool = _
fn is_closed(Self) -> Bool = _
fn next_file(Self, &ICancellable?) -> FileInfo? raise Error_ = _
fn next_files_finish(Self, &IAsyncResult) -> Array[FileInfo] raise Error_ = _
fn set_pending(Self, Bool) -> Unit = _
fn close_async(Self, Int, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
}pub(open) trait IFileIOStream {
fn as_file_io_stream(Self) -> FileIOStream
fn get_etag(Self) -> String? = _
fn query_info(Self, String, &ICancellable?) -> FileInfo raise Error_ = _
fn query_info_async(Self, String, Int, &ICancellable?, (Result[FileInfo, Error_]) -> Unit) -> Unit = _
}pub(open) trait IFileInfo {
fn as_file_info(Self) -> FileInfo
fn clear_status(Self) -> Unit = _
fn copy_into(Self, &IFileInfo) -> Unit = _
fn dup(Self) -> FileInfo = _
fn get_attribute_as_string(Self, String) -> String? = _
fn get_attribute_boolean(Self, String) -> Bool = _
fn get_attribute_byte_string(Self, String) -> String? = _
fn get_attribute_file_path(Self, String) -> String? = _
fn get_attribute_int32(Self, String) -> Int = _
fn get_attribute_int64(Self, String) -> Int64 = _
fn get_attribute_object(Self, String) -> Object? = _
fn get_attribute_status(Self, String) -> FileAttributeStatus = _
fn get_attribute_string(Self, String) -> String? = _
fn get_attribute_type(Self, String) -> FileAttributeType = _
fn get_attribute_uint32(Self, String) -> UInt = _
fn get_attribute_uint64(Self, String) -> UInt64 = _
fn get_content_type(Self) -> String? = _
fn get_display_name(Self) -> String = _
fn get_edit_name(Self) -> String = _
fn get_etag(Self) -> String? = _
fn get_file_type(Self) -> FileType = _
fn get_icon(Self) -> Icon? = _
fn get_is_backup(Self) -> Bool = _
fn get_is_hidden(Self) -> Bool = _
fn get_is_symlink(Self) -> Bool = _
fn get_name(Self) -> String = _
fn get_size(Self) -> Int64 = _
fn get_sort_order(Self) -> Int = _
fn get_symbolic_icon(Self) -> Icon? = _
fn get_symlink_target(Self) -> String? = _
fn has_attribute(Self, String) -> Bool = _
fn has_namespace(Self, String) -> Bool = _
fn remove_attribute(Self, String) -> Unit = _
fn set_attribute_boolean(Self, String, Bool) -> Unit = _
fn set_attribute_byte_string(Self, String, String) -> Unit = _
fn set_attribute_file_path(Self, String, String) -> Unit = _
fn set_attribute_int32(Self, String, Int) -> Unit = _
fn set_attribute_int64(Self, String, Int64) -> Unit = _
fn set_attribute_object(Self, String, &IObject) -> Unit = _
fn set_attribute_status(Self, String, FileAttributeStatus) -> Bool = _
fn set_attribute_string(Self, String, String) -> Unit = _
fn set_attribute_stringv(Self, String, Array[String]) -> Unit = _
fn set_attribute_uint32(Self, String, UInt) -> Unit = _
fn set_attribute_uint64(Self, String, UInt64) -> Unit = _
fn set_content_type(Self, String) -> Unit = _
fn set_display_name(Self, String) -> Unit = _
fn set_edit_name(Self, String) -> Unit = _
fn set_file_type(Self, FileType) -> Unit = _
fn set_icon(Self, &IIcon) -> Unit = _
fn set_is_hidden(Self, Bool) -> Unit = _
fn set_is_symlink(Self, Bool) -> Unit = _
fn set_name(Self, String) -> Unit = _
fn set_size(Self, Int64) -> Unit = _
fn set_sort_order(Self, Int) -> Unit = _
fn set_symbolic_icon(Self, &IIcon) -> Unit = _
fn set_symlink_target(Self, String) -> Unit = _
fn unset_attribute_mask(Self) -> Unit = _
}pub(open) trait IFileInputStream {
fn as_file_input_stream(Self) -> FileInputStream
fn query_info(Self, String, &ICancellable?) -> FileInfo raise Error_ = _
fn query_info_async(Self, String, Int, &ICancellable?, (Result[FileInfo, Error_]) -> Unit) -> Unit = _
}pub(open) trait IFileMonitor {
fn as_file_monitor(Self) -> FileMonitor
fn cancel(Self) -> Bool = _
fn emit_event(Self, &IFile, &IFile?, FileMonitorEvent) -> Unit = _
fn is_cancelled(Self) -> Bool = _
fn set_rate_limit(Self, Int) -> Unit = _
fn connect_changed(Self, (FileMonitor, File, File?, FileMonitorEvent) -> Unit) -> UInt64 = _
}pub(open) trait IFileOutputStream {
fn as_file_output_stream(Self) -> FileOutputStream
fn get_etag(Self) -> String? = _
fn query_info(Self, String, &ICancellable?) -> FileInfo raise Error_ = _
fn query_info_async(Self, String, Int, &ICancellable?, (Result[FileInfo, Error_]) -> Unit) -> Unit = _
}pub(open) trait IFilenameCompleter {
fn as_filename_completer(Self) -> FilenameCompleter
fn get_completion_suffix(Self, String) -> String? = _
fn set_dirs_only(Self, Bool) -> Unit = _
fn connect_got_completion_data(Self, (FilenameCompleter) -> Unit) -> UInt64 = _
}pub(open) trait IFilterInputStream {
fn as_filter_input_stream(Self) -> FilterInputStream
fn get_base_stream(Self) -> InputStream = _
fn get_close_base_stream(Self) -> Bool = _
fn set_close_base_stream(Self, Bool) -> Unit = _
}pub(open) trait IFilterOutputStream {
fn as_filter_output_stream(Self) -> FilterOutputStream
fn get_base_stream(Self) -> OutputStream = _
fn get_close_base_stream(Self) -> Bool = _
fn set_close_base_stream(Self, Bool) -> Unit = _
}pub(open) trait IIOStream {
fn as_io_stream(Self) -> IOStream
fn clear_pending(Self) -> Unit = _
fn close(Self, &ICancellable?) -> Bool raise Error_ = _
fn get_input_stream(Self) -> InputStream = _
fn get_output_stream(Self) -> OutputStream = _
fn has_pending(Self) -> Bool = _
fn is_closed(Self) -> Bool = _
fn set_pending(Self) -> Bool raise Error_ = _
fn close_async(Self, Int, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
}pub(open) trait IInetAddress {
fn as_inet_address(Self) -> InetAddress
fn equal(Self, &IInetAddress) -> Bool = _
fn get_family(Self) -> SocketFamily = _
fn get_flowinfo(Self) -> UInt = _
fn get_is_any(Self) -> Bool = _
fn get_is_link_local(Self) -> Bool = _
fn get_is_loopback(Self) -> Bool = _
fn get_is_mc_global(Self) -> Bool = _
fn get_is_mc_link_local(Self) -> Bool = _
fn get_is_mc_node_local(Self) -> Bool = _
fn get_is_mc_org_local(Self) -> Bool = _
fn get_is_mc_site_local(Self) -> Bool = _
fn get_is_multicast(Self) -> Bool = _
fn get_is_site_local(Self) -> Bool = _
fn get_native_size(Self) -> UInt64 = _
fn get_scope_id(Self) -> UInt = _
fn to_string(Self) -> String = _
}pub(open) trait IInetAddressMask {
fn as_inet_address_mask(Self) -> InetAddressMask
fn equal(Self, &IInetAddressMask) -> Bool = _
fn get_address(Self) -> InetAddress = _
fn get_family(Self) -> SocketFamily = _
fn get_length(Self) -> UInt = _
fn matches(Self, &IInetAddress) -> Bool = _
fn to_string(Self) -> String = _
}pub(open) trait IInetSocketAddress {
fn as_inet_socket_address(Self) -> InetSocketAddress
fn get_address(Self) -> InetAddress = _
fn get_flowinfo(Self) -> UInt = _
fn get_port(Self) -> UInt = _
fn get_scope_id(Self) -> UInt = _
}pub(open) trait IInitable {
fn as_initable(Self) -> Initable
fn init(Self, &ICancellable?) -> Bool raise Error_ = _
}pub(open) trait IInputStream {
fn as_input_stream(Self) -> InputStream
fn clear_pending(Self) -> Unit = _
fn close(Self, &ICancellable?) -> Bool raise Error_ = _
fn has_pending(Self) -> Bool = _
fn is_closed(Self) -> Bool = _
fn read_all_finish(Self, &IAsyncResult) -> (Bool, UInt64) raise Error_ = _
fn read_bytes(Self, UInt64, &ICancellable?) -> Bytes raise Error_ = _
fn read_finish(Self, &IAsyncResult) -> Int64 raise Error_ = _
fn set_pending(Self) -> Bool raise Error_ = _
fn skip(Self, UInt64, &ICancellable?) -> Int64 raise Error_ = _
fn close_async(Self, Int, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
fn read_bytes_async(Self, UInt64, Int, &ICancellable?, (Result[Bytes, Error_]) -> Unit) -> Unit = _
fn skip_async(Self, UInt64, Int, &ICancellable?, (Result[Int64, Error_]) -> Unit) -> Unit = _
}pub(open) trait ILoadableIcon {
fn as_loadable_icon(Self) -> LoadableIcon
fn load(Self, Int, &ICancellable?) -> (InputStream, String) raise Error_ = _
fn load_finish(Self, &IAsyncResult) -> (InputStream, String) raise Error_ = _
}pub(open) trait IMemoryInputStream {
fn as_memory_input_stream(Self) -> MemoryInputStream
fn add_bytes(Self, Bytes) -> Unit = _
}pub(open) trait IMemoryOutputStream {
fn as_memory_output_stream(Self) -> MemoryOutputStream
fn get_data_size(Self) -> UInt64 = _
fn get_size(Self) -> UInt64 = _
fn steal_as_bytes(Self) -> Bytes = _
}pub(open) trait IMenu {
fn as_menu(Self) -> Menu
fn append(Self, String?, String?) -> Unit = _
fn append_item(Self, &IMenuItem) -> Unit = _
fn append_section(Self, String?, &IMenuModel) -> Unit = _
fn append_submenu(Self, String?, &IMenuModel) -> Unit = _
fn freeze(Self) -> Unit = _
fn insert(Self, Int, String?, String?) -> Unit = _
fn insert_item(Self, Int, &IMenuItem) -> Unit = _
fn insert_section(Self, Int, String?, &IMenuModel) -> Unit = _
fn insert_submenu(Self, Int, String?, &IMenuModel) -> Unit = _
fn prepend(Self, String?, String?) -> Unit = _
fn prepend_item(Self, &IMenuItem) -> Unit = _
fn prepend_section(Self, String?, &IMenuModel) -> Unit = _
fn prepend_submenu(Self, String?, &IMenuModel) -> Unit = _
fn remove(Self, Int) -> Unit = _
fn remove_all(Self) -> Unit = _
}pub(open) trait IMenuAttributeIter {
fn as_menu_attribute_iter(Self) -> MenuAttributeIter
fn get_name(Self) -> String = _
fn get_value(Self) -> Variant = _
fn next(Self) -> Bool = _
}pub(open) trait IMenuItem {
fn as_menu_item(Self) -> MenuItem
fn get_link(Self, String) -> MenuModel? = _
fn set_action_and_target_value(Self, String?, &IVariant?) -> Unit = _
fn set_attribute_value(Self, String, &IVariant?) -> Unit = _
fn set_detailed_action(Self, String) -> Unit = _
fn set_icon(Self, &IIcon) -> Unit = _
fn set_label(Self, String?) -> Unit = _
fn set_link(Self, String, &IMenuModel?) -> Unit = _
fn set_section(Self, &IMenuModel?) -> Unit = _
fn set_submenu(Self, &IMenuModel?) -> Unit = _
}pub(open) trait IMenuLinkIter {
fn as_menu_link_iter(Self) -> MenuLinkIter
fn get_name(Self) -> String = _
fn get_value(Self) -> MenuModel = _
fn next(Self) -> Bool = _
}pub(open) trait IMenuModel {
fn as_menu_model(Self) -> MenuModel
fn get_item_link(Self, Int, String) -> MenuModel? = _
fn get_n_items(Self) -> Int = _
fn is_mutable(Self) -> Bool = _
fn items_changed(Self, Int, Int, Int) -> Unit = _
fn iterate_item_attributes(Self, Int) -> MenuAttributeIter = _
fn iterate_item_links(Self, Int) -> MenuLinkIter = _
fn connect_items_changed(Self, (MenuModel, Int, Int, Int) -> Unit) -> UInt64 = _
}pub(open) trait IMount {
fn as_mount(Self) -> Mount
fn can_eject(Self) -> Bool = _
fn can_unmount(Self) -> Bool = _
fn get_default_location(Self) -> File = _
fn get_drive(Self) -> Drive? = _
fn get_icon(Self) -> Icon = _
fn get_name(Self) -> String = _
fn get_root(Self) -> File = _
fn get_sort_key(Self) -> String? = _
fn get_symbolic_icon(Self) -> Icon = _
fn get_uuid(Self) -> String? = _
fn get_volume(Self) -> Volume? = _
fn is_shadowed(Self) -> Bool = _
fn shadow(Self) -> Unit = _
fn unshadow(Self) -> Unit = _
fn eject_with_operation(Self, MountUnmountFlags, &IMountOperation?, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
fn remount(Self, MountMountFlags, &IMountOperation?, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
fn unmount_with_operation(Self, MountUnmountFlags, &IMountOperation?, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
}pub(open) trait IMountOperation {
fn as_mount_operation(Self) -> MountOperation
fn get_anonymous(Self) -> Bool = _
fn get_choice(Self) -> Int = _
fn get_domain(Self) -> String? = _
fn get_is_tcrypt_hidden_volume(Self) -> Bool = _
fn get_is_tcrypt_system_volume(Self) -> Bool = _
fn get_password(Self) -> String? = _
fn get_password_save(Self) -> PasswordSave = _
fn get_pim(Self) -> UInt = _
fn get_username(Self) -> String? = _
fn reply(Self, MountOperationResult) -> Unit = _
fn set_anonymous(Self, Bool) -> Unit = _
fn set_choice(Self, Int) -> Unit = _
fn set_domain(Self, String?) -> Unit = _
fn set_is_tcrypt_hidden_volume(Self, Bool) -> Unit = _
fn set_is_tcrypt_system_volume(Self, Bool) -> Unit = _
fn set_password(Self, String?) -> Unit = _
fn set_password_save(Self, PasswordSave) -> Unit = _
fn set_pim(Self, UInt) -> Unit = _
fn set_username(Self, String?) -> Unit = _
fn connect_aborted(Self, (MountOperation) -> Unit) -> UInt64 = _
fn connect_ask_password(Self, (MountOperation, String, String, String, AskPasswordFlags) -> Unit) -> UInt64 = _
fn connect_reply(Self, (MountOperation, MountOperationResult) -> Unit) -> UInt64 = _
fn connect_show_unmount_progress(Self, (MountOperation, String, Int64, Int64) -> Unit) -> UInt64 = _
}pub(open) trait INetworkAddress {
fn as_network_address(Self) -> NetworkAddress
fn get_hostname(Self) -> String = _
fn get_port(Self) -> UInt = _
fn get_scheme(Self) -> String? = _
}pub(open) trait INetworkMonitor {
fn as_network_monitor(Self) -> NetworkMonitor
fn can_reach(Self, &ISocketConnectable, &ICancellable?) -> Bool raise Error_ = _
fn get_connectivity(Self) -> NetworkConnectivity = _
fn get_network_available(Self) -> Bool = _
fn get_network_metered(Self) -> Bool = _
fn can_reach_async(Self, &ISocketConnectable, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
}pub(open) trait INetworkService {
fn as_network_service(Self) -> NetworkService
fn get_domain(Self) -> String = _
fn get_protocol(Self) -> String = _
fn get_scheme(Self) -> String = _
fn get_service(Self) -> String = _
fn set_scheme(Self, String) -> Unit = _
}pub(open) trait INotification {
fn as_notification(Self) -> Notification
fn add_button(Self, String, String) -> Unit = _
fn add_button_with_target_value(Self, String, String, &IVariant?) -> Unit = _
fn set_body(Self, String?) -> Unit = _
fn set_category(Self, String?) -> Unit = _
fn set_default_action(Self, String) -> Unit = _
fn set_default_action_and_target_value(Self, String, &IVariant?) -> Unit = _
fn set_icon(Self, &IIcon) -> Unit = _
fn set_priority(Self, NotificationPriority) -> Unit = _
fn set_title(Self, String) -> Unit = _
}pub(open) trait IOutputStream {
fn as_output_stream(Self) -> OutputStream
fn clear_pending(Self) -> Unit = _
fn close(Self, &ICancellable?) -> Bool raise Error_ = _
fn flush(Self, &ICancellable?) -> Bool raise Error_ = _
fn has_pending(Self) -> Bool = _
fn is_closed(Self) -> Bool = _
fn is_closing(Self) -> Bool = _
fn set_pending(Self) -> Bool raise Error_ = _
fn splice(Self, &IInputStream, OutputStreamSpliceFlags, &ICancellable?) -> Int64 raise Error_ = _
fn write_all_finish(Self, &IAsyncResult) -> (Bool, UInt64) raise Error_ = _
fn write_bytes(Self, Bytes, &ICancellable?) -> Int64 raise Error_ = _
fn write_finish(Self, &IAsyncResult) -> Int64 raise Error_ = _
fn writev_all_finish(Self, &IAsyncResult) -> (Bool, UInt64) raise Error_ = _
fn writev_finish(Self, &IAsyncResult) -> (Bool, UInt64) raise Error_ = _
fn close_async(Self, Int, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
fn flush_async(Self, Int, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
fn splice_async(Self, &IInputStream, OutputStreamSpliceFlags, Int, &ICancellable?, (Result[Int64, Error_]) -> Unit) -> Unit = _
fn write_bytes_async(Self, Bytes, Int, &ICancellable?, (Result[Int64, Error_]) -> Unit) -> Unit = _
}pub(open) trait IPermission {
fn as_permission(Self) -> Permission
fn acquire(Self, &ICancellable?) -> Bool raise Error_ = _
fn get_allowed(Self) -> Bool = _
fn get_can_acquire(Self) -> Bool = _
fn get_can_release(Self) -> Bool = _
fn impl_update(Self, Bool, Bool, Bool) -> Unit = _
fn release(Self, &ICancellable?) -> Bool raise Error_ = _
fn acquire_async(Self, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
fn release_async(Self, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
}pub(open) trait IPollableInputStream {
fn as_pollable_input_stream(Self) -> PollableInputStream
fn can_poll(Self) -> Bool = _
fn is_readable(Self) -> Bool = _
}pub(open) trait IPollableOutputStream {
fn as_pollable_output_stream(Self) -> PollableOutputStream
fn can_poll(Self) -> Bool = _
fn is_writable(Self) -> Bool = _
}pub(open) trait IPowerProfileMonitor {
fn as_power_profile_monitor(Self) -> PowerProfileMonitor
fn get_power_saver_enabled(Self) -> Bool = _
}pub(open) trait IProxy {
fn as_proxy(Self) -> Proxy
fn connect(Self, &IIOStream, &IProxyAddress, &ICancellable?) -> IOStream raise Error_ = _
fn supports_hostname(Self) -> Bool = _
fn connect_async(Self, &IIOStream, &IProxyAddress, &ICancellable?, (Result[IOStream, Error_]) -> Unit) -> Unit = _
}pub(open) trait IProxyAddress {
fn as_proxy_address(Self) -> ProxyAddress
fn get_destination_hostname(Self) -> String = _
fn get_destination_port(Self) -> UInt = _
fn get_destination_protocol(Self) -> String = _
fn get_password(Self) -> String? = _
fn get_protocol(Self) -> String = _
fn get_uri(Self) -> String? = _
fn get_username(Self) -> String? = _
}pub(open) trait IProxyAddressEnumerator {
fn as_proxy_address_enumerator(Self) -> ProxyAddressEnumerator
}pub(open) trait IProxyResolver {
fn as_proxy_resolver(Self) -> ProxyResolver
fn is_supported(Self) -> Bool = _
}pub(open) trait IRemoteActionGroup {
fn as_remote_action_group(Self) -> RemoteActionGroup
fn activate_action_full(Self, String, &IVariant?, &IVariant) -> Unit = _
fn change_action_state_full(Self, String, &IVariant, &IVariant) -> Unit = _
}pub(open) trait IResolver {
fn as_resolver(Self) -> Resolver
fn get_timeout(Self) -> UInt = _
fn lookup_by_address(Self, &IInetAddress, &ICancellable?) -> String raise Error_ = _
fn lookup_by_name(Self, String, &ICancellable?) -> Array[InetAddress] raise Error_ = _
fn lookup_by_name_finish(Self, &IAsyncResult) -> Array[InetAddress] raise Error_ = _
fn lookup_by_name_with_flags(Self, String, ResolverNameLookupFlags, &ICancellable?) -> Array[InetAddress] raise Error_ = _
fn lookup_by_name_with_flags_finish(Self, &IAsyncResult) -> Array[InetAddress] raise Error_ = _
fn lookup_records(Self, String, ResolverRecordType, &ICancellable?) -> Array[Variant] raise Error_ = _
fn lookup_records_finish(Self, &IAsyncResult) -> Array[Variant] raise Error_ = _
fn set_default(Self) -> Unit = _
fn set_timeout(Self, UInt) -> Unit = _
fn connect_reload(Self, (Resolver) -> Unit) -> UInt64 = _
fn lookup_by_address_async(Self, &IInetAddress, &ICancellable?, (Result[String, Error_]) -> Unit) -> Unit = _
}pub(open) trait ISeekable {
fn as_seekable(Self) -> Seekable
fn can_seek(Self) -> Bool = _
fn can_truncate(Self) -> Bool = _
fn seek(Self, Int64, SeekType, &ICancellable?) -> Bool raise Error_ = _
fn tell(Self) -> Int64 = _
fn truncate(Self, Int64, &ICancellable?) -> Bool raise Error_ = _
}pub(open) trait ISettings {
fn as_settings(Self) -> Settings
fn apply(Self) -> Unit = _
fn bind(Self, String, &IObject, String, SettingsBindFlags) -> Unit = _
fn bind_writable(Self, String, &IObject, String, Bool) -> Unit = _
fn create_action(Self, String) -> Action = _
fn delay(Self) -> Unit = _
fn get_boolean(Self, String) -> Bool = _
fn get_child(Self, String) -> Settings = _
fn get_default_value(Self, String) -> Variant? = _
fn get_double(Self, String) -> Double = _
fn get_enum(Self, String) -> Int = _
fn get_flags(Self, String) -> UInt = _
fn get_has_unapplied(Self) -> Bool = _
fn get_int(Self, String) -> Int = _
fn get_int64(Self, String) -> Int64 = _
fn get_string(Self, String) -> String = _
fn get_uint(Self, String) -> UInt = _
fn get_uint64(Self, String) -> UInt64 = _
fn get_user_value(Self, String) -> Variant? = _
fn get_value(Self, String) -> Variant = _
fn is_writable(Self, String) -> Bool = _
fn reset(Self, String) -> Unit = _
fn revert(Self) -> Unit = _
fn set_boolean(Self, String, Bool) -> Bool = _
fn set_double(Self, String, Double) -> Bool = _
fn set_enum(Self, String, Int) -> Bool = _
fn set_flags(Self, String, UInt) -> Bool = _
fn set_int(Self, String, Int) -> Bool = _
fn set_int64(Self, String, Int64) -> Bool = _
fn set_string(Self, String, String) -> Bool = _
fn set_strv(Self, String, Array[String]?) -> Bool = _
fn set_uint(Self, String, UInt) -> Bool = _
fn set_uint64(Self, String, UInt64) -> Bool = _
fn set_value(Self, String, &IVariant) -> Bool = _
fn connect_changed(Self, (Settings, String) -> Unit) -> UInt64 = _
fn connect_writable_change_event(Self, (Settings, UInt) -> Bool) -> UInt64 = _
fn connect_writable_changed(Self, (Settings, String) -> Unit) -> UInt64 = _
}pub(open) trait ISimpleAction {
fn as_simple_action(Self) -> SimpleAction
fn set_enabled(Self, Bool) -> Unit = _
fn set_state(Self, &IVariant) -> Unit = _
fn set_state_hint(Self, &IVariant?) -> Unit = _
fn connect_activate(Self, (SimpleAction, Variant?) -> Unit) -> UInt64 = _
fn connect_change_state(Self, (SimpleAction, Variant?) -> Unit) -> UInt64 = _
}pub(open) trait ISimpleProxyResolver {
fn as_simple_proxy_resolver(Self) -> SimpleProxyResolver
fn set_default_proxy(Self, String?) -> Unit = _
fn set_ignore_hosts(Self, Array[String]) -> Unit = _
fn set_uri_proxy(Self, String, String) -> Unit = _
}pub(open) trait ISocket {
fn as_socket(Self) -> Socket
fn accept(Self, &ICancellable?) -> Socket raise Error_ = _
fn bind(Self, &ISocketAddress, Bool) -> Bool raise Error_ = _
fn check_connect_result(Self) -> Bool raise Error_ = _
fn close(Self) -> Bool raise Error_ = _
fn condition_check(Self, IOCondition) -> IOCondition = _
fn condition_timed_wait(Self, IOCondition, Int64, &ICancellable?) -> Bool raise Error_ = _
fn condition_wait(Self, IOCondition, &ICancellable?) -> Bool raise Error_ = _
fn connect(Self, &ISocketAddress, &ICancellable?) -> Bool raise Error_ = _
fn connection_factory_create_connection(Self) -> SocketConnection = _
fn get_available_bytes(Self) -> Int64 = _
fn get_blocking(Self) -> Bool = _
fn get_broadcast(Self) -> Bool = _
fn get_credentials(Self) -> Credentials raise Error_ = _
fn get_family(Self) -> SocketFamily = _
fn get_fd(Self) -> Int = _
fn get_keepalive(Self) -> Bool = _
fn get_listen_backlog(Self) -> Int = _
fn get_local_address(Self) -> SocketAddress raise Error_ = _
fn get_multicast_loopback(Self) -> Bool = _
fn get_multicast_ttl(Self) -> UInt = _
fn get_option(Self, Int, Int) -> (Bool, Int) raise Error_ = _
fn get_remote_address(Self) -> SocketAddress raise Error_ = _
fn get_socket_type(Self) -> SocketType = _
fn get_timeout(Self) -> UInt = _
fn get_ttl(Self) -> UInt = _
fn is_closed(Self) -> Bool = _
fn is_connected(Self) -> Bool = _
fn join_multicast_group(Self, &IInetAddress, Bool, String?) -> Bool raise Error_ = _
fn join_multicast_group_ssm(Self, &IInetAddress, &IInetAddress?, String?) -> Bool raise Error_ = _
fn leave_multicast_group(Self, &IInetAddress, Bool, String?) -> Bool raise Error_ = _
fn leave_multicast_group_ssm(Self, &IInetAddress, &IInetAddress?, String?) -> Bool raise Error_ = _
fn listen(Self) -> Bool raise Error_ = _
fn receive_bytes(Self, UInt64, Int64, &ICancellable?) -> Bytes raise Error_ = _
fn set_blocking(Self, Bool) -> Unit = _
fn set_broadcast(Self, Bool) -> Unit = _
fn set_keepalive(Self, Bool) -> Unit = _
fn set_listen_backlog(Self, Int) -> Unit = _
fn set_multicast_loopback(Self, Bool) -> Unit = _
fn set_multicast_ttl(Self, UInt) -> Unit = _
fn set_option(Self, Int, Int, Int) -> Bool raise Error_ = _
fn set_timeout(Self, UInt) -> Unit = _
fn set_ttl(Self, UInt) -> Unit = _
fn shutdown(Self, Bool, Bool) -> Bool raise Error_ = _
fn speaks_ipv4(Self) -> Bool = _
}pub(open) trait ISocketAddress {
fn as_socket_address(Self) -> SocketAddress
fn get_family(Self) -> SocketFamily = _
fn get_native_size(Self) -> Int64 = _
}pub(open) trait ISocketAddressEnumerator {
fn as_socket_address_enumerator(Self) -> SocketAddressEnumerator
fn next(Self, &ICancellable?) -> SocketAddress? raise Error_ = _
fn next_async(Self, &ICancellable?, (Result[SocketAddress?, Error_]) -> Unit) -> Unit = _
}pub(open) trait ISocketClient {
fn as_socket_client(Self) -> SocketClient
fn add_application_proxy(Self, String) -> Unit = _
fn connect(Self, &ISocketConnectable, &ICancellable?) -> SocketConnection raise Error_ = _
fn connect_to_host(Self, String, UInt, &ICancellable?) -> SocketConnection raise Error_ = _
fn connect_to_service(Self, String, String, &ICancellable?) -> SocketConnection raise Error_ = _
fn connect_to_uri(Self, String, UInt, &ICancellable?) -> SocketConnection raise Error_ = _
fn get_enable_proxy(Self) -> Bool = _
fn get_family(Self) -> SocketFamily = _
fn get_local_address(Self) -> SocketAddress? = _
fn get_proxy_resolver(Self) -> ProxyResolver = _
fn get_socket_type(Self) -> SocketType = _
fn get_timeout(Self) -> UInt = _
fn get_tls(Self) -> Bool = _
fn set_enable_proxy(Self, Bool) -> Unit = _
fn set_family(Self, SocketFamily) -> Unit = _
fn set_local_address(Self, &ISocketAddress?) -> Unit = _
fn set_proxy_resolver(Self, &IProxyResolver?) -> Unit = _
fn set_socket_type(Self, SocketType) -> Unit = _
fn set_timeout(Self, UInt) -> Unit = _
fn set_tls(Self, Bool) -> Unit = _
fn connect_event(Self, (SocketClient, SocketClientEvent, SocketConnectable, IOStream?) -> Unit) -> UInt64 = _
fn connect_async(Self, &ISocketConnectable, &ICancellable?, (Result[SocketConnection, Error_]) -> Unit) -> Unit = _
fn connect_to_host_async(Self, String, UInt, &ICancellable?, (Result[SocketConnection, Error_]) -> Unit) -> Unit = _
fn connect_to_service_async(Self, String, String, &ICancellable?, (Result[SocketConnection, Error_]) -> Unit) -> Unit = _
fn connect_to_uri_async(Self, String, UInt, &ICancellable?, (Result[SocketConnection, Error_]) -> Unit) -> Unit = _
}pub(open) trait ISocketConnectable {
fn as_socket_connectable(Self) -> SocketConnectable
fn enumerate(Self) -> SocketAddressEnumerator = _
fn proxy_enumerate(Self) -> SocketAddressEnumerator = _
fn to_string(Self) -> String = _
}pub(open) trait ISocketConnection {
fn as_socket_connection(Self) -> SocketConnection
fn connect(Self, &ISocketAddress, &ICancellable?) -> Bool raise Error_ = _
fn get_local_address(Self) -> SocketAddress raise Error_ = _
fn get_remote_address(Self) -> SocketAddress raise Error_ = _
fn get_socket(Self) -> Socket = _
fn is_connected(Self) -> Bool = _
fn connect_async(Self, &ISocketAddress, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
}pub(open) trait ISocketControlMessage {
fn as_socket_control_message(Self) -> SocketControlMessage
fn get_level(Self) -> Int = _
fn get_msg_type(Self) -> Int = _
fn get_size(Self) -> UInt64 = _
}pub(open) trait ISocketListener {
fn as_socket_listener(Self) -> SocketListener
fn add_any_inet_port(Self, &IObject?) -> UInt raise Error_ = _
fn add_inet_port(Self, UInt, &IObject?) -> Bool raise Error_ = _
fn add_socket(Self, &ISocket, &IObject?) -> Bool raise Error_ = _
fn close(Self) -> Unit = _
fn set_backlog(Self, Int) -> Unit = _
fn connect_event(Self, (SocketListener, SocketListenerEvent, Socket) -> Unit) -> UInt64 = _
}pub(open) trait ISocketService {
fn as_socket_service(Self) -> SocketService
fn is_active(Self) -> Bool = _
fn start(Self) -> Unit = _
fn stop(Self) -> Unit = _
fn connect_incoming(Self, (SocketService, SocketConnection, Object?) -> Bool) -> UInt64 = _
}pub(open) trait ISubprocess {
fn as_subprocess(Self) -> Subprocess
fn communicate_utf8(Self, String?, &ICancellable?) -> (Bool, String?, String?) raise Error_ = _
fn communicate_utf8_finish(Self, &IAsyncResult) -> (Bool, String?, String?) raise Error_ = _
fn force_exit(Self) -> Unit = _
fn get_exit_status(Self) -> Int = _
fn get_identifier(Self) -> String? = _
fn get_if_exited(Self) -> Bool = _
fn get_if_signaled(Self) -> Bool = _
fn get_status(Self) -> Int = _
fn get_stderr_pipe(Self) -> InputStream? = _
fn get_stdin_pipe(Self) -> OutputStream? = _
fn get_stdout_pipe(Self) -> InputStream? = _
fn get_successful(Self) -> Bool = _
fn get_term_sig(Self) -> Int = _
fn send_signal(Self, Int) -> Unit = _
fn wait(Self, &ICancellable?) -> Bool raise Error_ = _
fn wait_check(Self, &ICancellable?) -> Bool raise Error_ = _
fn wait_async(Self, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
fn wait_check_async(Self, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
}pub(open) trait ISubprocessLauncher {
fn as_subprocess_launcher(Self) -> SubprocessLauncher
fn close(Self) -> Unit = _
fn getenv(Self, String) -> String? = _
fn set_cwd(Self, String) -> Unit = _
fn set_environ(Self, Array[String]) -> Unit = _
fn set_flags(Self, SubprocessFlags) -> Unit = _
fn set_stderr_file_path(Self, String?) -> Unit = _
fn set_stdin_file_path(Self, String?) -> Unit = _
fn set_stdout_file_path(Self, String?) -> Unit = _
fn setenv(Self, String, String, Bool) -> Unit = _
fn spawnv(Self, Array[String]) -> Subprocess raise Error_ = _
fn take_fd(Self, Int, Int) -> Unit = _
fn take_stderr_fd(Self, Int) -> Unit = _
fn take_stdin_fd(Self, Int) -> Unit = _
fn take_stdout_fd(Self, Int) -> Unit = _
fn unsetenv(Self, String) -> Unit = _
}pub(open) trait ITask {
fn as_task(Self) -> Task
fn get_cancellable(Self) -> Cancellable? = _
fn get_check_cancellable(Self) -> Bool = _
fn get_completed(Self) -> Bool = _
fn get_name(Self) -> String? = _
fn get_priority(Self) -> Int = _
fn get_return_on_cancel(Self) -> Bool = _
fn get_source_object(Self) -> Object? = _
fn had_error(Self) -> Bool = _
fn propagate_boolean(Self) -> Bool raise Error_ = _
fn propagate_int(Self) -> Int64 raise Error_ = _
fn return_boolean(Self, Bool) -> Unit = _
fn return_error_if_cancelled(Self) -> Bool = _
fn return_int(Self, Int64) -> Unit = _
fn return_new_error_literal(Self, UInt, Int, String) -> Unit = _
fn set_check_cancellable(Self, Bool) -> Unit = _
fn set_name(Self, String?) -> Unit = _
fn set_priority(Self, Int) -> Unit = _
fn set_return_on_cancel(Self, Bool) -> Bool = _
fn set_static_name(Self, String?) -> Unit = _
}pub(open) trait ITcpConnection {
fn as_tcp_connection(Self) -> TcpConnection
fn get_graceful_disconnect(Self) -> Bool = _
fn set_graceful_disconnect(Self, Bool) -> Unit = _
}pub(open) trait ITcpWrapperConnection {
fn as_tcp_wrapper_connection(Self) -> TcpWrapperConnection
fn get_base_io_stream(Self) -> IOStream = _
}pub(open) trait ITestDBus {
fn as_test_dbus(Self) -> TestDBus
fn add_service_dir(Self, String) -> Unit = _
fn down(Self) -> Unit = _
fn get_bus_address(Self) -> String? = _
fn get_flags(Self) -> TestDBusFlags = _
fn stop(Self) -> Unit = _
fn up(Self) -> Unit = _
}pub(open) trait IThemedIcon {
fn as_themed_icon(Self) -> ThemedIcon
fn append_name(Self, String) -> Unit = _
fn prepend_name(Self, String) -> Unit = _
}pub(open) trait IThreadedSocketService {
fn as_threaded_socket_service(Self) -> ThreadedSocketService
fn connect_run(Self, (ThreadedSocketService, SocketConnection, Object?) -> Bool) -> UInt64 = _
}pub(open) trait ITlsBackend {
fn as_tls_backend(Self) -> TlsBackend
fn get_default_database(Self) -> TlsDatabase = _
fn set_default_database(Self, &ITlsDatabase?) -> Unit = _
fn supports_dtls(Self) -> Bool = _
fn supports_tls(Self) -> Bool = _
}pub(open) trait ITlsCertificate {
fn as_tls_certificate(Self) -> TlsCertificate
fn get_issuer(Self) -> TlsCertificate? = _
fn get_issuer_name(Self) -> String? = _
fn get_subject_name(Self) -> String? = _
fn is_same(Self, &ITlsCertificate) -> Bool = _
fn verify(Self, &ISocketConnectable?, &ITlsCertificate?) -> TlsCertificateFlags = _
}pub(open) trait ITlsClientConnection {
fn as_tls_client_connection(Self) -> TlsClientConnection
fn copy_session_state(Self, &ITlsClientConnection) -> Unit = _
fn get_server_identity(Self) -> SocketConnectable? = _
fn set_server_identity(Self, &ISocketConnectable) -> Unit = _
}pub(open) trait ITlsConnection {
fn as_tls_connection(Self) -> TlsConnection
fn emit_accept_certificate(Self, &ITlsCertificate, TlsCertificateFlags) -> Bool = _
fn get_certificate(Self) -> TlsCertificate? = _
fn get_ciphersuite_name(Self) -> String? = _
fn get_database(Self) -> TlsDatabase? = _
fn get_interaction(Self) -> TlsInteraction? = _
fn get_negotiated_protocol(Self) -> String? = _
fn get_peer_certificate(Self) -> TlsCertificate? = _
fn get_peer_certificate_errors(Self) -> TlsCertificateFlags = _
fn get_protocol_version(Self) -> TlsProtocolVersion = _
fn get_require_close_notify(Self) -> Bool = _
fn handshake(Self, &ICancellable?) -> Bool raise Error_ = _
fn set_advertised_protocols(Self, Array[String]?) -> Unit = _
fn set_certificate(Self, &ITlsCertificate) -> Unit = _
fn set_database(Self, &ITlsDatabase?) -> Unit = _
fn set_interaction(Self, &ITlsInteraction?) -> Unit = _
fn set_require_close_notify(Self, Bool) -> Unit = _
fn connect_accept_certificate(Self, (TlsConnection, TlsCertificate, TlsCertificateFlags) -> Bool) -> UInt64 = _
fn handshake_async(Self, Int, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
}pub(open) trait ITlsDatabase {
fn as_tls_database(Self) -> TlsDatabase
fn create_certificate_handle(Self, &ITlsCertificate) -> String? = _
fn lookup_certificate_for_handle(Self, String, &ITlsInteraction?, TlsDatabaseLookupFlags, &ICancellable?) -> TlsCertificate? raise Error_ = _
fn lookup_certificate_issuer(Self, &ITlsCertificate, &ITlsInteraction?, TlsDatabaseLookupFlags, &ICancellable?) -> TlsCertificate raise Error_ = _
fn lookup_certificates_issued_by_finish(Self, &IAsyncResult) -> Array[TlsCertificate] raise Error_ = _
fn verify_chain(Self, &ITlsCertificate, String, &ISocketConnectable?, &ITlsInteraction?, TlsDatabaseVerifyFlags, &ICancellable?) -> TlsCertificateFlags raise Error_ = _
fn lookup_certificate_for_handle_async(Self, String, &ITlsInteraction?, TlsDatabaseLookupFlags, &ICancellable?, (Result[TlsCertificate, Error_]) -> Unit) -> Unit = _
fn lookup_certificate_issuer_async(Self, &ITlsCertificate, &ITlsInteraction?, TlsDatabaseLookupFlags, &ICancellable?, (Result[TlsCertificate, Error_]) -> Unit) -> Unit = _
fn verify_chain_async(Self, &ITlsCertificate, String, &ISocketConnectable?, &ITlsInteraction?, TlsDatabaseVerifyFlags, &ICancellable?, (Result[TlsCertificateFlags, Error_]) -> Unit) -> Unit = _
}pub(open) trait ITlsInteraction {
fn as_tls_interaction(Self) -> TlsInteraction
fn ask_password(Self, &ITlsPassword, &ICancellable?) -> TlsInteractionResult raise Error_ = _
fn invoke_ask_password(Self, &ITlsPassword, &ICancellable?) -> TlsInteractionResult raise Error_ = _
fn invoke_request_certificate(Self, &ITlsConnection, TlsCertificateRequestFlags, &ICancellable?) -> TlsInteractionResult raise Error_ = _
fn request_certificate(Self, &ITlsConnection, TlsCertificateRequestFlags, &ICancellable?) -> TlsInteractionResult raise Error_ = _
fn ask_password_async(Self, &ITlsPassword, &ICancellable?, (Result[TlsInteractionResult, Error_]) -> Unit) -> Unit = _
fn request_certificate_async(Self, &ITlsConnection, TlsCertificateRequestFlags, &ICancellable?, (Result[TlsInteractionResult, Error_]) -> Unit) -> Unit = _
}pub(open) trait ITlsPassword {
fn as_tls_password(Self) -> TlsPassword
fn get_description(Self) -> String = _
fn get_flags(Self) -> TlsPasswordFlags = _
fn get_warning(Self) -> String = _
fn set_description(Self, String) -> Unit = _
fn set_flags(Self, TlsPasswordFlags) -> Unit = _
fn set_warning(Self, String) -> Unit = _
}pub(open) trait IUnixConnection {
fn as_unix_connection(Self) -> UnixConnection
fn receive_credentials(Self, &ICancellable?) -> Credentials raise Error_ = _
fn receive_fd(Self, &ICancellable?) -> Int raise Error_ = _
fn send_credentials(Self, &ICancellable?) -> Bool raise Error_ = _
fn send_fd(Self, Int, &ICancellable?) -> Bool raise Error_ = _
fn receive_credentials_async(Self, &ICancellable?, (Result[Credentials, Error_]) -> Unit) -> Unit = _
fn send_credentials_async(Self, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
}pub(open) trait IUnixCredentialsMessage {
fn as_unix_credentials_message(Self) -> UnixCredentialsMessage
fn get_credentials(Self) -> Credentials = _
}pub(open) trait IUnixFDList {
fn as_unix_fd_list(Self) -> UnixFDList
fn append(Self, Int) -> Int raise Error_ = _
fn get(Self, Int) -> Int raise Error_ = _
fn get_length(Self) -> Int = _
fn peek_fds(Self) -> Array[Int] = _
fn steal_fds(Self) -> Array[Int] = _
}pub(open) trait IUnixSocketAddress {
fn as_unix_socket_address(Self) -> UnixSocketAddress
fn get_address_type(Self) -> UnixSocketAddressType = _
fn get_path(Self) -> String = _
fn get_path_len(Self) -> UInt64 = _
}pub(open) trait IVolume {
fn as_volume(Self) -> Volume
fn can_eject(Self) -> Bool = _
fn can_mount(Self) -> Bool = _
fn get_activation_root(Self) -> File? = _
fn get_drive(Self) -> Drive? = _
fn get_icon(Self) -> Icon = _
fn get_identifier(Self, String) -> String? = _
fn get_mount(Self) -> Mount? = _
fn get_name(Self) -> String = _
fn get_sort_key(Self) -> String? = _
fn get_symbolic_icon(Self) -> Icon = _
fn get_uuid(Self) -> String? = _
fn should_automount(Self) -> Bool = _
fn eject_with_operation(Self, MountUnmountFlags, &IMountOperation?, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
fn mount(Self, MountMountFlags, &IMountOperation?, &ICancellable?, (Result[Bool, Error_]) -> Unit) -> Unit = _
}pub(open) trait IVolumeMonitor {
fn as_volume_monitor(Self) -> VolumeMonitor
fn get_connected_drives(Self) -> Array[Drive] = _
fn get_mount_for_uuid(Self, String) -> Mount? = _
fn get_mounts(Self) -> Array[Mount] = _
fn get_volume_for_uuid(Self, String) -> Volume? = _
fn get_volumes(Self) -> Array[Volume] = _
fn connect_drive_changed(Self, (VolumeMonitor, Drive) -> Unit) -> UInt64 = _
fn connect_drive_connected(Self, (VolumeMonitor, Drive) -> Unit) -> UInt64 = _
fn connect_drive_disconnected(Self, (VolumeMonitor, Drive) -> Unit) -> UInt64 = _
fn connect_drive_eject_button(Self, (VolumeMonitor, Drive) -> Unit) -> UInt64 = _
fn connect_drive_stop_button(Self, (VolumeMonitor, Drive) -> Unit) -> UInt64 = _
fn connect_mount_added(Self, (VolumeMonitor, Mount) -> Unit) -> UInt64 = _
fn connect_mount_changed(Self, (VolumeMonitor, Mount) -> Unit) -> UInt64 = _
fn connect_mount_pre_unmount(Self, (VolumeMonitor, Mount) -> Unit) -> UInt64 = _
fn connect_mount_removed(Self, (VolumeMonitor, Mount) -> Unit) -> UInt64 = _
fn connect_volume_added(Self, (VolumeMonitor, Volume) -> Unit) -> UInt64 = _
fn connect_volume_changed(Self, (VolumeMonitor, Volume) -> Unit) -> UInt64 = _
fn connect_volume_removed(Self, (VolumeMonitor, Volume) -> Unit) -> UInt64 = _
}pub(open) trait IZlibCompressor {
fn as_zlib_compressor(Self) -> ZlibCompressor
fn get_file_info(Self) -> FileInfo? = _
fn get_os(Self) -> Int = _
fn set_file_info(Self, &IFileInfo?) -> Unit = _
fn set_os(Self, Int) -> Unit = _
}pub(open) trait IZlibDecompressor {
fn as_zlib_decompressor(Self) -> ZlibDecompressor
fn get_file_info(Self) -> FileInfo? = _
}pub(open) trait VActionGroupActionEnabledChanged {
fn action_enabled_changed(Self, ActionGroup, String, Bool) -> Unit
}pub(open) trait VActionGroupActionStateChanged {
fn action_state_changed(Self, ActionGroup, String, &IVariant) -> Unit
}pub(open) trait VActionGroupActivateAction {
fn activate_action(Self, ActionGroup, String, &IVariant?) -> Unit
}pub(open) trait VActionGroupChangeActionState {
fn change_action_state(Self, ActionGroup, String, &IVariant) -> Unit
}pub(open) trait VAppLaunchContextLaunchFailed {
fn launch_failed(Self, AppLaunchContext, String) -> Unit
}pub(open) trait VAppLaunchContextLaunchStarted {
fn launch_started(Self, AppLaunchContext, &IAppInfo, &IVariant) -> Unit
}pub(open) trait VAppLaunchContextLaunched {
fn launched(Self, AppLaunchContext, &IAppInfo, &IVariant) -> Unit
}pub(open) trait VApplicationCommandLinePrintLiteral {
fn print_literal(Self, ApplicationCommandLine, String) -> Unit
}pub(open) trait VApplicationCommandLinePrinterrLiteral {
fn printerr_literal(Self, ApplicationCommandLine, String) -> Unit
}pub(open) trait VApplicationDbusUnregister {
fn dbus_unregister(Self, Application, &IDBusConnection, String) -> Unit
}pub(open) trait VDBusInterfaceSetObject {
fn set_object(Self, DBusInterface, &IDBusObject?) -> Unit
}pub(open) trait VDBusObjectInterfaceAdded {
fn interface_added(Self, DBusObject, &IDBusInterface) -> Unit
}pub(open) trait VDBusObjectInterfaceRemoved {
fn interface_removed(Self, DBusObject, &IDBusInterface) -> Unit
}pub(open) trait VDBusObjectManagerClientInterfaceProxyPropertiesChanged {
fn interface_proxy_properties_changed(Self, DBusObjectManagerClient, &IDBusObjectProxy, &IDBusProxy, &IVariant, String) -> Unit
}pub(open) trait VDBusObjectManagerClientInterfaceProxySignal {
fn interface_proxy_signal(Self, DBusObjectManagerClient, &IDBusObjectProxy, &IDBusProxy, String, String, &IVariant) -> Unit
}pub(open) trait VDBusObjectManagerInterfaceAdded {
fn interface_added(Self, DBusObjectManager, &IDBusObject, &IDBusInterface) -> Unit
}pub(open) trait VDBusObjectManagerInterfaceRemoved {
fn interface_removed(Self, DBusObjectManager, &IDBusObject, &IDBusInterface) -> Unit
}pub(open) trait VDBusObjectManagerObjectAdded {
fn object_added(Self, DBusObjectManager, &IDBusObject) -> Unit
}pub(open) trait VDBusObjectManagerObjectRemoved {
fn object_removed(Self, DBusObjectManager, &IDBusObject) -> Unit
}pub(open) trait VDtlsConnectionSetAdvertisedProtocols {
fn set_advertised_protocols(Self, DtlsConnection, Array[String]?) -> Unit
}pub(open) trait VFileMonitorChanged {
fn changed(Self, FileMonitor, &IFile, &IFile, FileMonitorEvent) -> Unit
}pub(open) trait VFilenameCompleterGotCompletionData {
fn got_completion_data(Self, FilenameCompleter) -> Unit
}pub(open) trait VMemoryMonitorLowMemoryWarning {
fn low_memory_warning(Self, MemoryMonitor, MemoryMonitorWarningLevel) -> Unit
}pub(open) trait VMountOperationAskPassword {
fn ask_password(Self, MountOperation, String, String, String, AskPasswordFlags) -> Unit
}pub(open) trait VMountOperationAskQuestion {
fn ask_question(Self, MountOperation, String, Array[String]) -> Unit
}pub(open) trait VMountOperationReply {
fn reply(Self, MountOperation, MountOperationResult) -> Unit
}pub(open) trait VMountOperationShowUnmountProgress {
fn show_unmount_progress(Self, MountOperation, String, Int64, Int64) -> Unit
}pub(open) trait VNetworkMonitorNetworkChanged {
fn network_changed(Self, NetworkMonitor, Bool) -> Unit
}pub(open) trait VRemoteActionGroupActivateActionFull {
fn activate_action_full(Self, RemoteActionGroup, String, &IVariant?, &IVariant) -> Unit
}pub(open) trait VRemoteActionGroupChangeActionStateFull {
fn change_action_state_full(Self, RemoteActionGroup, String, &IVariant, &IVariant) -> Unit
}pub(open) trait VSocketClientEvent {
fn event(Self, SocketClient, SocketClientEvent, &ISocketConnectable, &IIOStream) -> Unit
}pub(open) trait VSocketListenerEvent {
fn event(Self, SocketListener, SocketListenerEvent, &ISocket) -> Unit
}pub(open) trait VTlsClientConnectionCopySessionState {
fn copy_session_state(Self, TlsClientConnection, &ITlsClientConnection) -> Unit
}pub(open) trait VVolumeMonitorDriveChanged {
fn drive_changed(Self, VolumeMonitor, &IDrive) -> Unit
}pub(open) trait VVolumeMonitorDriveConnected {
fn drive_connected(Self, VolumeMonitor, &IDrive) -> Unit
}pub(open) trait VVolumeMonitorDriveDisconnected {
fn drive_disconnected(Self, VolumeMonitor, &IDrive) -> Unit
}pub(open) trait VVolumeMonitorDriveEjectButton {
fn drive_eject_button(Self, VolumeMonitor, &IDrive) -> Unit
}pub(open) trait VVolumeMonitorDriveStopButton {
fn drive_stop_button(Self, VolumeMonitor, &IDrive) -> Unit
}pub(open) trait VVolumeMonitorMountChanged {
fn mount_changed(Self, VolumeMonitor, &IMount) -> Unit
}pub(open) trait VVolumeMonitorMountPreUnmount {
fn mount_pre_unmount(Self, VolumeMonitor, &IMount) -> Unit
}pub(open) trait VVolumeMonitorMountRemoved {
fn mount_removed(Self, VolumeMonitor, &IMount) -> Unit
}pub(open) trait VVolumeMonitorVolumeChanged {
fn volume_changed(Self, VolumeMonitor, &IVolume) -> Unit
}pub(open) trait VVolumeMonitorVolumeRemoved {
fn volume_removed(Self, VolumeMonitor, &IVolume) -> Unit
}pub type Actionpub type ActionGroupimpl IActionGroup for ActionGroupfn ActionGroup::action_enabled_changed(self : ActionGroup, action_name : String, enabled : Bool) -> Unitfn ActionGroup::action_state_changed(self : ActionGroup, action_name : String, state : &IVariant) -> Unitfn ActionGroup::activate_action(self : ActionGroup, action_name : String, parameter : &IVariant?) -> Unitfn ActionGroup::change_action_state(self : ActionGroup, action_name : String, value : &IVariant) -> Unitpub type ActionMapimpl IActionMap for ActionMappub type AppInfofn AppInfo::create_from_commandline(commandline : String, application_name : String?, flags : AppInfoCreateFlags) -> AppInfo raise Error_fn AppInfo::launch_default_for_uri(uri : String, context : &IAppLaunchContext?) -> Bool raise Error_pub(all) enum AppInfoCreateFlag {
None
NeedsTerminal
SupportsUris
SupportsStartupNotification
}pub struct AppInfoCreateFlags {
// private fields
}pub type AppInfoMonitorimpl IAppInfoMonitor for AppInfoMonitorimpl IObject for AppInfoMonitorpub type AppLaunchContextimpl IAppLaunchContext for AppLaunchContextimpl IObject for AppLaunchContextfn AppLaunchContext::connect_launch_failed(self : AppLaunchContext, f : (AppLaunchContext, String) -> Unit) -> UInt64fn AppLaunchContext::connect_launch_started(self : AppLaunchContext, f : (AppLaunchContext, AppInfo, Variant?) -> Unit) -> UInt64fn AppLaunchContext::connect_launched(self : AppLaunchContext, f : (AppLaunchContext, AppInfo, Variant) -> Unit) -> UInt64fn AppLaunchContext::get_display(self : AppLaunchContext, info : &IAppInfo, files : Array[File]) -> String?pub type Applicationimpl IActionGroup for Applicationimpl IActionMap for Applicationimpl IApplication for Applicationimpl IObject for Applicationfn Application::bind_busy_property(self : Application, object : &IObject, property : String) -> Unitfn Application::send_notification(self : Application, id : String?, notification : &INotification) -> Unitfn Application::set_option_context_parameter_string(self : Application, parameter_string : String?) -> Unitfn Application::unbind_busy_property(self : Application, object : &IObject, property : String) -> Unitpub type ApplicationCommandLineimpl IObject for ApplicationCommandLinefn ApplicationCommandLine::printerr_literal(self : ApplicationCommandLine, message : String) -> Unitfn ApplicationCommandLine::set_exit_status(self : ApplicationCommandLine, exit_status : Int) -> Unitpub(all) enum ApplicationFlag {
DefaultFlags
IsService
IsLauncher
HandlesOpen
HandlesCommandLine
SendEnvironment
NonUnique
CanOverrideAppId
AllowReplacement
Replace
}pub struct ApplicationFlags {
// private fields
}pub(all) enum AskPasswordFlag {
NeedPassword
NeedUsername
NeedDomain
SavingSupported
AnonymousSupported
Tcrypt
}pub struct AskPasswordFlags {
// private fields
}pub type AsyncInitableimpl IAsyncInitable for AsyncInitablefn AsyncInitable::init_async(self : AsyncInitable, io_priority : Int, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitpub type AsyncResultimpl IAsyncResult for AsyncResultpub type BufferedInputStreamimpl IBufferedInputStream for BufferedInputStreamimpl IFilterInputStream for BufferedInputStreamimpl IInputStream for BufferedInputStreamimpl ISeekable for BufferedInputStreamimpl IObject for BufferedInputStreamfn BufferedInputStream::fill(self : BufferedInputStream, count : Int64, cancellable : &ICancellable?) -> Int64 raise Error_fn BufferedInputStream::fill_async(self : BufferedInputStream, count : Int64, io_priority : Int, cancellable : &ICancellable?, callback : (Result[Int64, Error_]) -> Unit) -> Unitfn BufferedInputStream::new_sized(base_stream : &IInputStream, size : UInt64) -> BufferedInputStreamfn BufferedInputStream::read_byte(self : BufferedInputStream, cancellable : &ICancellable?) -> Int raise Error_pub type BufferedOutputStreamimpl IFilterOutputStream for BufferedOutputStreamimpl IOutputStream for BufferedOutputStreamimpl ISeekable for BufferedOutputStreamimpl IObject for BufferedOutputStreamfn BufferedOutputStream::new_sized(base_stream : &IOutputStream, size : UInt64) -> BufferedOutputStreampub(all) enum BusNameOwnerFlag {
None
AllowReplacement
Replace
DoNotQueue
}pub struct BusNameOwnerFlags {
// private fields
}pub struct BusNameWatcherFlags {
// private fields
}fn BusNameWatcherFlags::BusNameWatcherFlags(flags : Array[BusNameWatcherFlag]) -> BusNameWatcherFlagspub type BytesIconpub type Cancellableimpl ICancellable for Cancellableimpl IObject for Cancellablepub type CharsetConverterimpl ICharsetConverter for CharsetConverterimpl IConverter for CharsetConverterimpl IInitable for CharsetConverterimpl IObject for CharsetConverterfn CharsetConverter::new(to_charset : String, from_charset : String) -> CharsetConverter raise Error_pub struct ConverterFlags {
// private fields
}pub type ConverterInputStreamimpl IFilterInputStream for ConverterInputStreamimpl IInputStream for ConverterInputStreamimpl IPollableInputStream for ConverterInputStreamimpl IObject for ConverterInputStreamfn ConverterInputStream::as_pollable_input_stream(self : ConverterInputStream) -> PollableInputStreamfn ConverterInputStream::new(base_stream : &IInputStream, converter : &IConverter) -> ConverterInputStreampub type ConverterOutputStreamimpl IFilterOutputStream for ConverterOutputStreamimpl IOutputStream for ConverterOutputStreamimpl IObject for ConverterOutputStreamfn ConverterOutputStream::as_filter_output_stream(self : ConverterOutputStream) -> FilterOutputStreamfn ConverterOutputStream::as_pollable_output_stream(self : ConverterOutputStream) -> PollableOutputStreamfn ConverterOutputStream::new(base_stream : &IOutputStream, converter : &IConverter) -> ConverterOutputStreampub(all) enum ConverterResult {
Error
Converted
Finished
Flushed
}pub type Credentialsimpl ICredentials for Credentialsimpl IObject for Credentialsfn Credentials::is_same_user(self : Credentials, other_credentials : &ICredentials) -> Bool raise Error_pub(all) enum CredentialsType {
Invalid
LinuxUcred
FreebsdCmsgcred
OpenbsdSockpeercred
SolarisUcred
NetbsdUnpcbid
AppleXucred
Win32Pid
}pub type DBusActionGroupimpl IActionGroup for DBusActionGroupimpl IDBusActionGroup for DBusActionGroupimpl IRemoteActionGroup for DBusActionGroupimpl IObject for DBusActionGroupfn DBusActionGroup::get(connection : &IDBusConnection, bus_name : String?, object_path : String) -> DBusActionGrouppub type DBusAuthObserverimpl IDBusAuthObserver for DBusAuthObserverimpl IObject for DBusAuthObserverfn DBusAuthObserver::authorize_authenticated_peer(self : DBusAuthObserver, stream : &IIOStream, credentials : &ICredentials?) -> Boolfn DBusAuthObserver::connect_allow_mechanism(self : DBusAuthObserver, f : (DBusAuthObserver, String) -> Bool) -> UInt64fn DBusAuthObserver::connect_authorize_authenticated_peer(self : DBusAuthObserver, f : (DBusAuthObserver, IOStream, Credentials?) -> Bool) -> UInt64pub(all) enum DBusCallFlag {
None
NoAutoStart
AllowInteractiveAuthorization
}pub struct DBusCallFlags {
// private fields
}pub(all) enum DBusCapabilityFlag {
None
UnixFdPassing
}pub struct DBusCapabilityFlags {
// private fields
}fn DBusCapabilityFlags::DBusCapabilityFlags(flags : Array[DBusCapabilityFlag]) -> DBusCapabilityFlagspub type DBusConnectionimpl IAsyncInitable for DBusConnectionimpl IDBusConnection for DBusConnectionimpl IInitable for DBusConnectionimpl IObject for DBusConnectionfn DBusConnection::close(self : DBusConnection, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn DBusConnection::close_sync(self : DBusConnection, cancellable : &ICancellable?) -> Bool raise Error_fn DBusConnection::emit_signal(self : DBusConnection, destination_bus_name : String?, object_path : String, interface_name : String, signal_name : String, parameters : &IVariant?) -> Bool raise Error_fn DBusConnection::export_action_group(self : DBusConnection, object_path : String, action_group : &IActionGroup) -> UInt raise Error_fn DBusConnection::export_menu_model(self : DBusConnection, object_path : String, menu : &IMenuModel) -> UInt raise Error_fn DBusConnection::flush(self : DBusConnection, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn DBusConnection::flush_sync(self : DBusConnection, cancellable : &ICancellable?) -> Bool raise Error_fn DBusConnection::new_for_address_sync(address : String, flags : DBusConnectionFlags, observer : &IDBusAuthObserver?, cancellable : &ICancellable?) -> DBusConnection raise Error_fn DBusConnection::new_sync(stream : &IIOStream, guid : String?, flags : DBusConnectionFlags, observer : &IDBusAuthObserver?, cancellable : &ICancellable?) -> DBusConnection raise Error_fn DBusConnection::send_message(self : DBusConnection, message : &IDBusMessage, flags : DBusSendMessageFlags) -> (Bool, UInt) raise Error_fn DBusConnection::send_message_with_reply_finish(self : DBusConnection, res : &IAsyncResult) -> DBusMessage raise Error_fn DBusConnection::send_message_with_reply_sync(self : DBusConnection, message : &IDBusMessage, flags : DBusSendMessageFlags, timeout_msec : Int, cancellable : &ICancellable?) -> (DBusMessage, UInt) raise Error_fn DBusConnection::signal_subscribe(self : DBusConnection, sender : String?, interface_name : String?, member_ : String?, object_path : String?, arg0 : String?, flags : DBusSignalFlags, callback : (DBusConnection, String?, String, String, String, Variant) -> Unit) -> Unitpub(all) enum DBusConnectionFlag {
None
AuthenticationClient
AuthenticationServer
AuthenticationAllowAnonymous
MessageBusConnection
DelayMessageProcessing
AuthenticationRequireSameUser
CrossNamespace
}pub struct DBusConnectionFlags {
// private fields
}fn DBusConnectionFlags::DBusConnectionFlags(flags : Array[DBusConnectionFlag]) -> DBusConnectionFlagspub(all) enum DBusError {
Failed
NoMemory
ServiceUnknown
NameHasNoOwner
NoReply
IoError
BadAddress
NotSupported
LimitsExceeded
AccessDenied
AuthFailed
NoServer
Timeout
NoNetwork
AddressInUse
Disconnected
InvalidArgs
FileNotFound
FileExists
UnknownMethod
TimedOut
MatchRuleNotFound
MatchRuleInvalid
SpawnExecFailed
SpawnForkFailed
SpawnChildExited
SpawnChildSignaled
SpawnFailed
SpawnSetupFailed
SpawnConfigInvalid
SpawnServiceInvalid
SpawnServiceNotFound
SpawnPermissionsInvalid
SpawnFileInvalid
SpawnNoMemory
UnixProcessIdUnknown
InvalidSignature
InvalidFileContent
SelinuxSecurityContextUnknown
AdtAuditDataUnknown
ObjectPathInUse
UnknownObject
UnknownInterface
UnknownProperty
PropertyReadOnly
}pub type DBusInterfacepub type DBusInterfaceSkeletonimpl IDBusInterface for DBusInterfaceSkeletonimpl IObject for DBusInterfaceSkeletonfn DBusInterfaceSkeleton::connect_g_authorize_method(self : DBusInterfaceSkeleton, f : (DBusInterfaceSkeleton, DBusMethodInvocation) -> Bool) -> UInt64fn DBusInterfaceSkeleton::export_(self : DBusInterfaceSkeleton, connection : &IDBusConnection, object_path : String) -> Bool raise Error_fn DBusInterfaceSkeleton::has_connection(self : DBusInterfaceSkeleton, connection : &IDBusConnection) -> Boolfn DBusInterfaceSkeleton::set_flags(self : DBusInterfaceSkeleton, flags : DBusInterfaceSkeletonFlags) -> Unitfn DBusInterfaceSkeleton::set_g_flags(self : DBusInterfaceSkeleton, value : DBusInterfaceSkeletonFlags) -> Unitfn DBusInterfaceSkeleton::unexport_from_connection(self : DBusInterfaceSkeleton, connection : &IDBusConnection) -> Unitpub(all) enum DBusInterfaceSkeletonFlag {
None
HandleMethodInvocationsInThread
}pub struct DBusInterfaceSkeletonFlags {
// private fields
}fn DBusInterfaceSkeletonFlags::DBusInterfaceSkeletonFlags(flags : Array[DBusInterfaceSkeletonFlag]) -> DBusInterfaceSkeletonFlagspub type DBusMenuModelimpl IDBusMenuModel for DBusMenuModelimpl IMenuModel for DBusMenuModelimpl IObject for DBusMenuModelfn DBusMenuModel::get(connection : &IDBusConnection, bus_name : String?, object_path : String) -> DBusMenuModelpub type DBusMessageimpl IDBusMessage for DBusMessageimpl IObject for DBusMessagefn DBusMessage::new_method_call(name : String?, path : String, interface_ : String?, method_ : String) -> DBusMessagefn DBusMessage::new_method_error_literal(self : DBusMessage, error_name : String, error_message : String) -> DBusMessagefn DBusMessage::set_header(self : DBusMessage, header_field : DBusMessageHeaderField, value : &IVariant?) -> Unitpub(all) enum DBusMessageByteOrder {
BigEndian
LittleEndian
}pub(all) enum DBusMessageFlag {
None
NoReplyExpected
NoAutoStart
AllowInteractiveAuthorization
}pub struct DBusMessageFlags {
// private fields
}pub(all) enum DBusMessageHeaderField {
Invalid
Path
Interface
Member
ErrorName
ReplySerial
Destination
Sender
Signature
NumUnixFds
}pub(all) enum DBusMessageType {
Invalid
MethodCall
MethodReturn
Error
Signal
}pub type DBusMethodInvocationimpl IObject for DBusMethodInvocationfn DBusMethodInvocation::return_dbus_error(self : DBusMethodInvocation, error_name : String, error_message : String) -> Unitfn DBusMethodInvocation::return_error_literal(self : DBusMethodInvocation, domain : UInt, code : Int, message : String) -> Unitfn DBusMethodInvocation::return_value_with_unix_fd_list(self : DBusMethodInvocation, parameters : &IVariant?, fd_list : &IUnixFDList?) -> Unitpub type DBusObjectimpl IDBusObject for DBusObjectpub type DBusObjectManagerimpl IDBusObjectManager for DBusObjectManagerfn DBusObjectManager::get_interface(self : DBusObjectManager, object_path : String, interface_name : String) -> DBusInterface?pub type DBusObjectManagerClientimpl IAsyncInitable for DBusObjectManagerClientimpl IInitable for DBusObjectManagerClientimpl IObject for DBusObjectManagerClientfn DBusObjectManagerClient::as_dbus_object_manager(self : DBusObjectManagerClient) -> DBusObjectManagerfn DBusObjectManagerClient::connect_interface_proxy_signal(self : DBusObjectManagerClient, f : (DBusObjectManagerClient, DBusObjectProxy, DBusProxy, String, String, Variant) -> Unit) -> UInt64fn DBusObjectManagerClient::get_flags(self : DBusObjectManagerClient) -> DBusObjectManagerClientFlagsfn DBusObjectManagerClient::new_for_bus_finish(res : &IAsyncResult) -> DBusObjectManagerClient raise Error_pub(all) enum DBusObjectManagerClientFlag {
None
DoNotAutoStart
}pub struct DBusObjectManagerClientFlags {
// private fields
}fn DBusObjectManagerClientFlags::DBusObjectManagerClientFlags(flags : Array[DBusObjectManagerClientFlag]) -> DBusObjectManagerClientFlagspub type DBusObjectManagerServerimpl IObject for DBusObjectManagerServerfn DBusObjectManagerServer::as_dbus_object_manager(self : DBusObjectManagerServer) -> DBusObjectManagerfn DBusObjectManagerServer::export_(self : DBusObjectManagerServer, object : &IDBusObjectSkeleton) -> Unitfn DBusObjectManagerServer::export_uniquely(self : DBusObjectManagerServer, object : &IDBusObjectSkeleton) -> Unitfn DBusObjectManagerServer::is_exported(self : DBusObjectManagerServer, object : &IDBusObjectSkeleton) -> Boolfn DBusObjectManagerServer::set_connection(self : DBusObjectManagerServer, connection : &IDBusConnection?) -> Unitpub type DBusObjectProxyimpl IDBusObject for DBusObjectProxyimpl IDBusObjectProxy for DBusObjectProxyimpl IObject for DBusObjectProxypub type DBusObjectSkeletonimpl IDBusObject for DBusObjectSkeletonimpl IDBusObjectSkeleton for DBusObjectSkeletonimpl IObject for DBusObjectSkeletonfn DBusObjectSkeleton::add_interface(self : DBusObjectSkeleton, interface_ : &IDBusInterfaceSkeleton) -> Unitfn DBusObjectSkeleton::connect_authorize_method(self : DBusObjectSkeleton, f : (DBusObjectSkeleton, DBusInterfaceSkeleton, DBusMethodInvocation) -> Bool) -> UInt64fn DBusObjectSkeleton::remove_interface(self : DBusObjectSkeleton, interface_ : &IDBusInterfaceSkeleton) -> Unitfn DBusObjectSkeleton::remove_interface_by_name(self : DBusObjectSkeleton, interface_name : String) -> Unitpub(all) enum DBusPropertyInfoFlag {
None
Readable
Writable
}pub struct DBusPropertyInfoFlags {
// private fields
}fn DBusPropertyInfoFlags::DBusPropertyInfoFlags(flags : Array[DBusPropertyInfoFlag]) -> DBusPropertyInfoFlagspub type DBusProxyimpl IAsyncInitable for DBusProxyimpl IDBusInterface for DBusProxyimpl IDBusProxy for DBusProxyfn DBusProxy::call(self : DBusProxy, method_name : String, parameters : &IVariant?, flags : DBusCallFlags, timeout_msec : Int, cancellable : &ICancellable?, callback : (Result[Variant, Error_]) -> Unit) -> Unitfn DBusProxy::call_sync(self : DBusProxy, method_name : String, parameters : &IVariant?, flags : DBusCallFlags, timeout_msec : Int, cancellable : &ICancellable?) -> Variant raise Error_pub(all) enum DBusProxyFlag {
None
DoNotLoadProperties
DoNotConnectSignals
DoNotAutoStart
GetInvalidatedProperties
DoNotAutoStartAtConstruction
NoMatchRule
}pub struct DBusProxyFlags {
// private fields
}pub(all) enum DBusSendMessageFlag {
None
PreserveSerial
}pub struct DBusSendMessageFlags {
// private fields
}fn DBusSendMessageFlags::DBusSendMessageFlags(flags : Array[DBusSendMessageFlag]) -> DBusSendMessageFlagspub type DBusServerimpl IDBusServer for DBusServerimpl IInitable for DBusServerimpl IObject for DBusServerfn DBusServer::connect_new_connection(self : DBusServer, f : (DBusServer, DBusConnection) -> Bool) -> UInt64fn DBusServer::new_sync(address : String, flags : DBusServerFlags, guid : String, observer : &IDBusAuthObserver?, cancellable : &ICancellable?) -> DBusServer raise Error_pub(all) enum DBusServerFlag {
None
RunInThread
AuthenticationAllowAnonymous
AuthenticationRequireSameUser
}pub struct DBusServerFlags {
// private fields
}pub(all) enum DBusSignalFlag {
None
NoMatchRule
MatchArg0Namespace
MatchArg0Path
}pub struct DBusSignalFlags {
// private fields
}pub(all) enum DBusSubtreeFlag {
None
DispatchToUnenumeratedNodes
}pub struct DBusSubtreeFlags {
// private fields
}pub type DataInputStreamimpl IBufferedInputStream for DataInputStreamimpl IDataInputStream for DataInputStreamimpl IFilterInputStream for DataInputStreamimpl IInputStream for DataInputStreamimpl ISeekable for DataInputStreamimpl IObject for DataInputStreamfn DataInputStream::read_byte(self : DataInputStream, cancellable : &ICancellable?) -> UInt raise Error_fn DataInputStream::read_int16(self : DataInputStream, cancellable : &ICancellable?) -> Int raise Error_fn DataInputStream::read_int32(self : DataInputStream, cancellable : &ICancellable?) -> Int raise Error_fn DataInputStream::read_int64(self : DataInputStream, cancellable : &ICancellable?) -> Int64 raise Error_fn DataInputStream::read_line_finish_utf8(self : DataInputStream, result : &IAsyncResult) -> (String?, UInt64) raise Error_fn DataInputStream::read_line_utf8(self : DataInputStream, cancellable : &ICancellable?) -> (String?, UInt64) raise Error_fn DataInputStream::read_uint16(self : DataInputStream, cancellable : &ICancellable?) -> UInt raise Error_fn DataInputStream::read_uint32(self : DataInputStream, cancellable : &ICancellable?) -> UInt raise Error_fn DataInputStream::read_uint64(self : DataInputStream, cancellable : &ICancellable?) -> UInt64 raise Error_fn DataInputStream::read_upto(self : DataInputStream, stop_chars : String, stop_chars_len : Int64, cancellable : &ICancellable?) -> (String, UInt64) raise Error_fn DataInputStream::read_upto_async(self : DataInputStream, stop_chars : String, stop_chars_len : Int64, io_priority : Int, cancellable : &ICancellable?, callback : (Result[(String, UInt64), Error_]) -> Unit) -> Unitpub type DataOutputStreamimpl IDataOutputStream for DataOutputStreamimpl IFilterOutputStream for DataOutputStreamimpl IOutputStream for DataOutputStreamimpl ISeekable for DataOutputStreamimpl IObject for DataOutputStreamfn DataOutputStream::put_byte(self : DataOutputStream, data : UInt, cancellable : &ICancellable?) -> Bool raise Error_fn DataOutputStream::put_int16(self : DataOutputStream, data : Int, cancellable : &ICancellable?) -> Bool raise Error_fn DataOutputStream::put_int32(self : DataOutputStream, data : Int, cancellable : &ICancellable?) -> Bool raise Error_fn DataOutputStream::put_int64(self : DataOutputStream, data : Int64, cancellable : &ICancellable?) -> Bool raise Error_fn DataOutputStream::put_string(self : DataOutputStream, str : String, cancellable : &ICancellable?) -> Bool raise Error_fn DataOutputStream::put_uint16(self : DataOutputStream, data : UInt, cancellable : &ICancellable?) -> Bool raise Error_fn DataOutputStream::put_uint32(self : DataOutputStream, data : UInt, cancellable : &ICancellable?) -> Bool raise Error_fn DataOutputStream::put_uint64(self : DataOutputStream, data : UInt64, cancellable : &ICancellable?) -> Bool raise Error_pub(all) enum DataStreamByteOrder {
BigEndian
LittleEndian
HostEndian
}pub(all) enum DataStreamNewlineType {
Lf
Cr
CrLf
Any
}pub type DatagramBasedimpl IDatagramBased for DatagramBasedfn DatagramBased::condition_wait(self : DatagramBased, condition : IOCondition, timeout : Int64, cancellable : &ICancellable?) -> Bool raise Error_pub type DebugControllerimpl IDebugController for DebugControllerimpl IInitable for DebugControllerpub type DebugControllerDBusimpl IDebugController for DebugControllerDBusimpl IDebugControllerDBus for DebugControllerDBusimpl IInitable for DebugControllerDBusimpl IObject for DebugControllerDBusfn DebugControllerDBus::connect_authorize(self : DebugControllerDBus, f : (DebugControllerDBus, DBusMethodInvocation) -> Bool) -> UInt64fn DebugControllerDBus::new(connection : &IDBusConnection, cancellable : &ICancellable?) -> DebugControllerDBus? raise Error_pub type Drivefn Drive::eject_with_operation(self : Drive, flags : MountUnmountFlags, mount_operation : &IMountOperation?, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn Drive::poll_for_media(self : Drive, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn Drive::start(self : Drive, flags : DriveStartFlags, mount_operation : &IMountOperation?, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn Drive::stop(self : Drive, flags : MountUnmountFlags, mount_operation : &IMountOperation?, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitpub struct DriveStartFlags {
// private fields
}pub(all) enum DriveStartStopType {
Unknown
Shutdown
Network
Multidisk
Password
}pub type DtlsClientConnectionimpl IDatagramBased for DtlsClientConnectionimpl IDtlsConnection for DtlsClientConnectionfn DtlsClientConnection::new(base_socket : &IDatagramBased, server_identity : &ISocketConnectable?) -> DtlsClientConnection raise Error_fn DtlsClientConnection::set_server_identity(self : DtlsClientConnection, identity : &ISocketConnectable) -> Unitpub type DtlsConnectionimpl IDatagramBased for DtlsConnectionimpl IDtlsConnection for DtlsConnectionfn DtlsConnection::close_async(self : DtlsConnection, io_priority : Int, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn DtlsConnection::emit_accept_certificate(self : DtlsConnection, peer_cert : &ITlsCertificate, errors : TlsCertificateFlags) -> Boolfn DtlsConnection::handshake(self : DtlsConnection, cancellable : &ICancellable?) -> Bool raise Error_fn DtlsConnection::handshake_async(self : DtlsConnection, io_priority : Int, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn DtlsConnection::set_advertised_protocols(self : DtlsConnection, protocols : Array[String]?) -> Unitfn DtlsConnection::set_require_close_notify(self : DtlsConnection, require_close_notify : Bool) -> Unitfn DtlsConnection::shutdown(self : DtlsConnection, shutdown_read : Bool, shutdown_write : Bool, cancellable : &ICancellable?) -> Bool raise Error_fn DtlsConnection::shutdown_async(self : DtlsConnection, shutdown_read : Bool, shutdown_write : Bool, io_priority : Int, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitpub type DtlsServerConnectionimpl IDatagramBased for DtlsServerConnectionimpl IDtlsConnection for DtlsServerConnectionfn DtlsServerConnection::new(base_socket : &IDatagramBased, certificate : &ITlsCertificate?) -> DtlsServerConnection raise Error_pub type Emblempub(all) enum EmblemOrigin {
Unknown
Device
Livemetadata
Tag
}pub type EmblemedIconimpl IEmblemedIcon for EmblemedIconimpl IIcon for EmblemedIconimpl IObject for EmblemedIconpub type Filefn File::append_to(self : File, flags : FileCreateFlags, cancellable : &ICancellable?) -> FileOutputStream raise Error_fn File::append_to_async(self : File, flags : FileCreateFlags, io_priority : Int, cancellable : &ICancellable?, callback : (Result[FileOutputStream, Error_]) -> Unit) -> Unitfn File::build_attribute_list_for_copy(self : File, flags : FileCopyFlags, cancellable : &ICancellable?) -> String raise Error_fn File::copy_attributes(self : File, destination : &IFile, flags : FileCopyFlags, cancellable : &ICancellable?) -> Bool raise Error_fn File::create(self : File, flags : FileCreateFlags, cancellable : &ICancellable?) -> FileOutputStream raise Error_fn File::create_async(self : File, flags : FileCreateFlags, io_priority : Int, cancellable : &ICancellable?, callback : (Result[FileOutputStream, Error_]) -> Unit) -> Unitfn File::create_readwrite(self : File, flags : FileCreateFlags, cancellable : &ICancellable?) -> FileIOStream raise Error_fn File::create_readwrite_async(self : File, flags : FileCreateFlags, io_priority : Int, cancellable : &ICancellable?, callback : (Result[FileIOStream, Error_]) -> Unit) -> Unitfn File::delete_async(self : File, io_priority : Int, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn File::eject_mountable_with_operation(self : File, flags : MountUnmountFlags, mount_operation : &IMountOperation?, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn File::enumerate_children(self : File, attributes : String, flags : FileQueryInfoFlags, cancellable : &ICancellable?) -> FileEnumerator raise Error_fn File::enumerate_children_async(self : File, attributes : String, flags : FileQueryInfoFlags, io_priority : Int, cancellable : &ICancellable?, callback : (Result[FileEnumerator, Error_]) -> Unit) -> Unitfn File::find_enclosing_mount_async(self : File, io_priority : Int, cancellable : &ICancellable?, callback : (Result[Mount, Error_]) -> Unit) -> Unitfn File::make_directory_async(self : File, io_priority : Int, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn File::make_directory_with_parents(self : File, cancellable : &ICancellable?) -> Bool raise Error_fn File::make_symbolic_link(self : File, symlink_value : String, cancellable : &ICancellable?) -> Bool raise Error_fn File::make_symbolic_link_async(self : File, symlink_value : String, io_priority : Int, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn File::measure_disk_usage_finish(self : File, result : &IAsyncResult) -> (Bool, UInt64, UInt64, UInt64) raise Error_fn File::monitor(self : File, flags : FileMonitorFlags, cancellable : &ICancellable?) -> FileMonitor raise Error_fn File::monitor_directory(self : File, flags : FileMonitorFlags, cancellable : &ICancellable?) -> FileMonitor raise Error_fn File::monitor_file(self : File, flags : FileMonitorFlags, cancellable : &ICancellable?) -> FileMonitor raise Error_fn File::mount_enclosing_volume(self : File, flags : MountMountFlags, mount_operation : &IMountOperation?, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn File::mount_mountable(self : File, flags : MountMountFlags, mount_operation : &IMountOperation?, cancellable : &ICancellable?, callback : (Result[File, Error_]) -> Unit) -> Unitfn File::open_readwrite_async(self : File, io_priority : Int, cancellable : &ICancellable?, callback : (Result[FileIOStream, Error_]) -> Unit) -> Unitfn File::poll_mountable(self : File, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn File::query_default_handler_async(self : File, io_priority : Int, cancellable : &ICancellable?, callback : (Result[AppInfo, Error_]) -> Unit) -> Unitfn File::query_file_type(self : File, flags : FileQueryInfoFlags, cancellable : &ICancellable?) -> FileTypefn File::query_filesystem_info(self : File, attributes : String, cancellable : &ICancellable?) -> FileInfo raise Error_fn File::query_filesystem_info_async(self : File, attributes : String, io_priority : Int, cancellable : &ICancellable?, callback : (Result[FileInfo, Error_]) -> Unit) -> Unitfn File::query_info(self : File, attributes : String, flags : FileQueryInfoFlags, cancellable : &ICancellable?) -> FileInfo raise Error_fn File::query_info_async(self : File, attributes : String, flags : FileQueryInfoFlags, io_priority : Int, cancellable : &ICancellable?, callback : (Result[FileInfo, Error_]) -> Unit) -> Unitfn File::read_async(self : File, io_priority : Int, cancellable : &ICancellable?, callback : (Result[FileInputStream, Error_]) -> Unit) -> Unitfn File::replace(self : File, etag : String?, make_backup : Bool, flags : FileCreateFlags, cancellable : &ICancellable?) -> FileOutputStream raise Error_fn File::replace_async(self : File, etag : String?, make_backup : Bool, flags : FileCreateFlags, io_priority : Int, cancellable : &ICancellable?, callback : (Result[FileOutputStream, Error_]) -> Unit) -> Unitfn File::replace_readwrite(self : File, etag : String?, make_backup : Bool, flags : FileCreateFlags, cancellable : &ICancellable?) -> FileIOStream raise Error_fn File::replace_readwrite_async(self : File, etag : String?, make_backup : Bool, flags : FileCreateFlags, io_priority : Int, cancellable : &ICancellable?, callback : (Result[FileIOStream, Error_]) -> Unit) -> Unitfn File::set_attribute_byte_string(self : File, attribute : String, value : String, flags : FileQueryInfoFlags, cancellable : &ICancellable?) -> Bool raise Error_fn File::set_attribute_int32(self : File, attribute : String, value : Int, flags : FileQueryInfoFlags, cancellable : &ICancellable?) -> Bool raise Error_fn File::set_attribute_int64(self : File, attribute : String, value : Int64, flags : FileQueryInfoFlags, cancellable : &ICancellable?) -> Bool raise Error_fn File::set_attribute_string(self : File, attribute : String, value : String, flags : FileQueryInfoFlags, cancellable : &ICancellable?) -> Bool raise Error_fn File::set_attribute_uint32(self : File, attribute : String, value : UInt, flags : FileQueryInfoFlags, cancellable : &ICancellable?) -> Bool raise Error_fn File::set_attribute_uint64(self : File, attribute : String, value : UInt64, flags : FileQueryInfoFlags, cancellable : &ICancellable?) -> Bool raise Error_fn File::set_attributes_from_info(self : File, info : &IFileInfo, flags : FileQueryInfoFlags, cancellable : &ICancellable?) -> Bool raise Error_fn File::set_display_name(self : File, display_name : String, cancellable : &ICancellable?) -> File raise Error_fn File::set_display_name_async(self : File, display_name : String, io_priority : Int, cancellable : &ICancellable?, callback : (Result[File, Error_]) -> Unit) -> Unitfn File::start_mountable(self : File, flags : DriveStartFlags, start_operation : &IMountOperation?, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn File::stop_mountable(self : File, flags : MountUnmountFlags, mount_operation : &IMountOperation?, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn File::trash_async(self : File, io_priority : Int, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn File::unmount_mountable_with_operation(self : File, flags : MountUnmountFlags, mount_operation : &IMountOperation?, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitpub(all) enum FileAttributeInfoFlag {
None
CopyWithFile
CopyWhenMoved
}pub struct FileAttributeInfoFlags {
// private fields
}fn FileAttributeInfoFlags::FileAttributeInfoFlags(flags : Array[FileAttributeInfoFlag]) -> FileAttributeInfoFlagspub(all) enum FileAttributeStatus {
Unset
Set
ErrorSetting
}pub(all) enum FileAttributeType {
Invalid
String
ByteString
Boolean
Uint32
Int32
Uint64
Int64
Object
Stringv
}pub(all) enum FileCopyFlag {
None
Overwrite
Backup
NofollowSymlinks
AllMetadata
NoFallbackForMove
TargetDefaultPerms
TargetDefaultModifiedTime
}pub struct FileCopyFlags {
// private fields
}pub(all) enum FileCreateFlag {
None
Private
ReplaceDestination
}pub struct FileCreateFlags {
// private fields
}pub type FileEnumeratorimpl IFileEnumerator for FileEnumeratorimpl IObject for FileEnumeratorfn FileEnumerator::close_async(self : FileEnumerator, io_priority : Int, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn FileEnumerator::next_file(self : FileEnumerator, cancellable : &ICancellable?) -> FileInfo? raise Error_fn FileEnumerator::next_files_finish(self : FileEnumerator, result : &IAsyncResult) -> Array[FileInfo] raise Error_pub type FileIOStreamimpl IFileIOStream for FileIOStreamimpl IIOStream for FileIOStreamimpl ISeekable for FileIOStreamimpl IObject for FileIOStreamfn FileIOStream::query_info(self : FileIOStream, attributes : String, cancellable : &ICancellable?) -> FileInfo raise Error_fn FileIOStream::query_info_async(self : FileIOStream, attributes : String, io_priority : Int, cancellable : &ICancellable?, callback : (Result[FileInfo, Error_]) -> Unit) -> Unitpub type FileInfofn FileInfo::set_attribute_status(self : FileInfo, attribute : String, status : FileAttributeStatus) -> Boolpub type FileInputStreamimpl IFileInputStream for FileInputStreamimpl IInputStream for FileInputStreamimpl ISeekable for FileInputStreamimpl IObject for FileInputStreamfn FileInputStream::query_info(self : FileInputStream, attributes : String, cancellable : &ICancellable?) -> FileInfo raise Error_fn FileInputStream::query_info_async(self : FileInputStream, attributes : String, io_priority : Int, cancellable : &ICancellable?, callback : (Result[FileInfo, Error_]) -> Unit) -> Unitpub(all) enum FileMeasureFlag {
None
ReportAnyError
ApparentSize
NoXdev
}pub struct FileMeasureFlags {
// private fields
}pub type FileMonitorimpl IFileMonitor for FileMonitorimpl IObject for FileMonitorfn FileMonitor::connect_changed(self : FileMonitor, f : (FileMonitor, File, File?, FileMonitorEvent) -> Unit) -> UInt64fn FileMonitor::emit_event(self : FileMonitor, child : &IFile, other_file : &IFile?, event_type : FileMonitorEvent) -> Unitpub(all) enum FileMonitorEvent {
Changed
ChangesDoneHint
Deleted
Created
AttributeChanged
PreUnmount
Unmounted
Moved
Renamed
MovedIn
MovedOut
}pub(all) enum FileMonitorFlag {
None
WatchMounts
SendMoved
WatchHardLinks
WatchMoves
}pub struct FileMonitorFlags {
// private fields
}pub type FileOutputStreamimpl IFileOutputStream for FileOutputStreamimpl IOutputStream for FileOutputStreamimpl ISeekable for FileOutputStreamimpl IObject for FileOutputStreamfn FileOutputStream::query_info(self : FileOutputStream, attributes : String, cancellable : &ICancellable?) -> FileInfo raise Error_fn FileOutputStream::query_info_async(self : FileOutputStream, attributes : String, io_priority : Int, cancellable : &ICancellable?, callback : (Result[FileInfo, Error_]) -> Unit) -> Unitpub(all) enum FileQueryInfoFlag {
None
NofollowSymlinks
}pub struct FileQueryInfoFlags {
// private fields
}pub(all) enum FileType {
Unknown
Regular
Directory
SymbolicLink
Special
Shortcut
Mountable
}pub type FilenameCompleterimpl IFilenameCompleter for FilenameCompleterimpl IObject for FilenameCompleterfn FilenameCompleter::connect_got_completion_data(self : FilenameCompleter, f : (FilenameCompleter) -> Unit) -> UInt64fn FilenameCompleter::get_completion_suffix(self : FilenameCompleter, initial_text : String) -> String?pub(all) enum FilesystemPreviewType {
IfAlways
IfLocal
Never
}pub type FilterInputStreamimpl IFilterInputStream for FilterInputStreamimpl IInputStream for FilterInputStreamimpl IObject for FilterInputStreampub type FilterOutputStreamimpl IFilterOutputStream for FilterOutputStreamimpl IOutputStream for FilterOutputStreamimpl IObject for FilterOutputStreampub(all) enum IOErrorEnum {
Failed
NotFound
Exists
IsDirectory
NotDirectory
NotEmpty
NotRegularFile
NotSymbolicLink
NotMountableFile
FilenameTooLong
InvalidFilename
TooManyLinks
NoSpace
InvalidArgument
PermissionDenied
NotSupported
NotMounted
AlreadyMounted
Closed
Cancelled
Pending
ReadOnly
CantCreateBackup
WrongEtag
TimedOut
WouldRecurse
Busy
WouldBlock
HostNotFound
WouldMerge
FailedHandled
TooManyOpenFiles
NotInitialized
AddressInUse
PartialInput
InvalidData
DbusError
HostUnreachable
NetworkUnreachable
ConnectionRefused
ProxyFailed
ProxyAuthFailed
ProxyNeedAuth
ProxyNotAllowed
BrokenPipe
NotConnected
MessageTooLarge
NoSuchDevice
DestinationUnset
}pub(all) enum IOModuleScopeFlag {
None
BlockDuplicates
}pub struct IOModuleScopeFlags {
// private fields
}pub type IOStreamfn IOStream::close_async(self : IOStream, io_priority : Int, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitpub(all) enum IOStreamSpliceFlag {
None
CloseStream1
CloseStream2
WaitForBoth
}pub struct IOStreamSpliceFlags {
// private fields
}fn IOStreamSpliceFlags::IOStreamSpliceFlags(flags : Array[IOStreamSpliceFlag]) -> IOStreamSpliceFlagspub type Iconpub type InetAddressimpl IInetAddress for InetAddressimpl IObject for InetAddressfn InetAddress::new_from_bytes_with_ipv6_info(bytes : FixedArray[UInt], family : SocketFamily, flowinfo : UInt, scope_id : UInt) -> InetAddresspub type InetAddressMaskimpl IInetAddressMask for InetAddressMaskimpl IInitable for InetAddressMaskimpl IObject for InetAddressMaskpub type InetSocketAddressimpl IInetSocketAddress for InetSocketAddressimpl ISocketAddress for InetSocketAddressimpl ISocketConnectable for InetSocketAddressimpl IObject for InetSocketAddresspub type Initablepub type InputStreamimpl IInputStream for InputStreamimpl IObject for InputStreamfn InputStream::close_async(self : InputStream, io_priority : Int, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn InputStream::read_all_finish(self : InputStream, result : &IAsyncResult) -> (Bool, UInt64) raise Error_fn InputStream::read_bytes(self : InputStream, count : UInt64, cancellable : &ICancellable?) -> Bytes raise Error_fn InputStream::read_bytes_async(self : InputStream, count : UInt64, io_priority : Int, cancellable : &ICancellable?, callback : (Result[Bytes, Error_]) -> Unit) -> Unitfn InputStream::skip(self : InputStream, count : UInt64, cancellable : &ICancellable?) -> Int64 raise Error_fn InputStream::skip_async(self : InputStream, count : UInt64, io_priority : Int, cancellable : &ICancellable?, callback : (Result[Int64, Error_]) -> Unit) -> Unitpub type ListModelpub type ListStoreimpl IListModel for ListStoreimpl IListStore for ListStorepub type LoadableIconimpl IIcon for LoadableIconimpl ILoadableIcon for LoadableIconfn LoadableIcon::load(self : LoadableIcon, size : Int, cancellable : &ICancellable?) -> (InputStream, String) raise Error_fn LoadableIcon::load_finish(self : LoadableIcon, res : &IAsyncResult) -> (InputStream, String) raise Error_pub type MemoryInputStreamimpl IInputStream for MemoryInputStreamimpl IMemoryInputStream for MemoryInputStreamimpl IPollableInputStream for MemoryInputStreamimpl ISeekable for MemoryInputStreamimpl IObject for MemoryInputStreampub type MemoryMonitorpub(all) enum MemoryMonitorWarningLevel {
Low
Medium
Critical
}pub type MemoryOutputStreamimpl IMemoryOutputStream for MemoryOutputStreamimpl IOutputStream for MemoryOutputStreamimpl IPollableOutputStream for MemoryOutputStreamimpl ISeekable for MemoryOutputStreamimpl IObject for MemoryOutputStreampub type Menuimpl IMenuModel for Menufn Menu::insert_section(self : Menu, position : Int, label : String?, section : &IMenuModel) -> Unitfn Menu::insert_submenu(self : Menu, position : Int, label : String?, submenu : &IMenuModel) -> Unitpub type MenuAttributeIterimpl IMenuAttributeIter for MenuAttributeIterimpl IObject for MenuAttributeIterpub type MenuItempub type MenuLinkIterimpl IMenuLinkIter for MenuLinkIterimpl IObject for MenuLinkIterpub type MenuModelimpl IMenuModel for MenuModelpub type Mountfn Mount::eject_with_operation(self : Mount, flags : MountUnmountFlags, mount_operation : &IMountOperation?, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn Mount::remount(self : Mount, flags : MountMountFlags, mount_operation : &IMountOperation?, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn Mount::unmount_with_operation(self : Mount, flags : MountUnmountFlags, mount_operation : &IMountOperation?, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitpub struct MountMountFlags {
// private fields
}pub type MountOperationimpl IMountOperation for MountOperationimpl IObject for MountOperationfn MountOperation::connect_ask_password(self : MountOperation, f : (MountOperation, String, String, String, AskPasswordFlags) -> Unit) -> UInt64fn MountOperation::connect_reply(self : MountOperation, f : (MountOperation, MountOperationResult) -> Unit) -> UInt64fn MountOperation::connect_show_unmount_progress(self : MountOperation, f : (MountOperation, String, Int64, Int64) -> Unit) -> UInt64pub(all) enum MountOperationResult {
Handled
Aborted
Unhandled
}pub struct MountUnmountFlags {
// private fields
}pub type NativeSocketAddressimpl INativeSocketAddress for NativeSocketAddressimpl ISocketAddress for NativeSocketAddressimpl ISocketConnectable for NativeSocketAddressimpl IObject for NativeSocketAddresspub type NativeVolumeMonitorimpl INativeVolumeMonitor for NativeVolumeMonitorimpl IVolumeMonitor for NativeVolumeMonitorimpl IObject for NativeVolumeMonitorpub type NetworkAddressimpl INetworkAddress for NetworkAddressimpl ISocketConnectable for NetworkAddressimpl IObject for NetworkAddressfn NetworkAddress::parse(host_and_port : String, default_port : UInt) -> NetworkAddress raise Error_pub(all) enum NetworkConnectivity {
Local
Limited
Portal
Full
}pub type NetworkMonitorimpl IInitable for NetworkMonitorimpl INetworkMonitor for NetworkMonitorfn NetworkMonitor::can_reach(self : NetworkMonitor, connectable : &ISocketConnectable, cancellable : &ICancellable?) -> Bool raise Error_fn NetworkMonitor::can_reach_async(self : NetworkMonitor, connectable : &ISocketConnectable, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitpub type NetworkServiceimpl INetworkService for NetworkServiceimpl ISocketConnectable for NetworkServiceimpl IObject for NetworkServicepub type Notificationimpl INotification for Notificationimpl IObject for Notificationfn Notification::add_button_with_target_value(self : Notification, label : String, action : String, target : &IVariant?) -> Unitfn Notification::set_default_action_and_target_value(self : Notification, action : String, target : &IVariant?) -> Unitpub(all) enum NotificationPriority {
Normal
Low
High
Urgent
}pub type OutputStreamimpl IOutputStream for OutputStreamimpl IObject for OutputStreamfn OutputStream::close_async(self : OutputStream, io_priority : Int, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn OutputStream::flush_async(self : OutputStream, io_priority : Int, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn OutputStream::splice(self : OutputStream, source : &IInputStream, flags : OutputStreamSpliceFlags, cancellable : &ICancellable?) -> Int64 raise Error_fn OutputStream::splice_async(self : OutputStream, source : &IInputStream, flags : OutputStreamSpliceFlags, io_priority : Int, cancellable : &ICancellable?, callback : (Result[Int64, Error_]) -> Unit) -> Unitfn OutputStream::write_all_finish(self : OutputStream, result : &IAsyncResult) -> (Bool, UInt64) raise Error_fn OutputStream::write_bytes(self : OutputStream, bytes : Bytes, cancellable : &ICancellable?) -> Int64 raise Error_fn OutputStream::write_bytes_async(self : OutputStream, bytes : Bytes, io_priority : Int, cancellable : &ICancellable?, callback : (Result[Int64, Error_]) -> Unit) -> Unitfn OutputStream::writev_all_finish(self : OutputStream, result : &IAsyncResult) -> (Bool, UInt64) raise Error_fn OutputStream::writev_finish(self : OutputStream, result : &IAsyncResult) -> (Bool, UInt64) raise Error_pub(all) enum OutputStreamSpliceFlag {
None
CloseSource
CloseTarget
}pub struct OutputStreamSpliceFlags {
// private fields
}fn OutputStreamSpliceFlags::OutputStreamSpliceFlags(flags : Array[OutputStreamSpliceFlag]) -> OutputStreamSpliceFlagspub(all) enum PasswordSave {
Never
ForSession
Permanently
}pub type Permissionimpl IPermission for Permissionimpl IObject for Permissionfn Permission::acquire_async(self : Permission, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn Permission::impl_update(self : Permission, allowed : Bool, can_acquire : Bool, can_release : Bool) -> Unitfn Permission::release_async(self : Permission, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitpub type PollableInputStreamimpl IInputStream for PollableInputStreamimpl IPollableInputStream for PollableInputStreampub type PollableOutputStreamimpl IOutputStream for PollableOutputStreampub type PowerProfileMonitorimpl IInitable for PowerProfileMonitorimpl IPowerProfileMonitor for PowerProfileMonitorpub type PropertyActionimpl IAction for PropertyActionimpl IPropertyAction for PropertyActionimpl IObject for PropertyActionpub type Proxyfn Proxy::connect(self : Proxy, connection : &IIOStream, proxy_address : &IProxyAddress, cancellable : &ICancellable?) -> IOStream raise Error_fn Proxy::connect_async(self : Proxy, connection : &IIOStream, proxy_address : &IProxyAddress, cancellable : &ICancellable?, callback : (Result[IOStream, Error_]) -> Unit) -> Unitpub type ProxyAddressimpl IInetSocketAddress for ProxyAddressimpl IProxyAddress for ProxyAddressimpl ISocketAddress for ProxyAddressimpl ISocketConnectable for ProxyAddressimpl IObject for ProxyAddressfn ProxyAddress::new(inetaddr : &IInetAddress, port : UInt, protocol : String, dest_hostname : String, dest_port : UInt, username : String?, password : String?) -> ProxyAddresspub type ProxyAddressEnumeratorimpl IObject for ProxyAddressEnumeratorfn ProxyAddressEnumerator::as_socket_address_enumerator(self : ProxyAddressEnumerator) -> SocketAddressEnumeratorfn ProxyAddressEnumerator::set_proxy_resolver(self : ProxyAddressEnumerator, value : ProxyResolver?) -> Unitpub type ProxyResolverpub type RemoteActionGroupimpl IActionGroup for RemoteActionGroupimpl IRemoteActionGroup for RemoteActionGroupfn RemoteActionGroup::activate_action_full(self : RemoteActionGroup, action_name : String, parameter : &IVariant?, platform_data : &IVariant) -> Unitfn RemoteActionGroup::change_action_state_full(self : RemoteActionGroup, action_name : String, value : &IVariant, platform_data : &IVariant) -> Unitpub type Resolverfn Resolver::lookup_by_address(self : Resolver, address : &IInetAddress, cancellable : &ICancellable?) -> String raise Error_fn Resolver::lookup_by_address_async(self : Resolver, address : &IInetAddress, cancellable : &ICancellable?, callback : (Result[String, Error_]) -> Unit) -> Unitfn Resolver::lookup_by_name(self : Resolver, hostname : String, cancellable : &ICancellable?) -> Array[InetAddress] raise Error_fn Resolver::lookup_by_name_finish(self : Resolver, result : &IAsyncResult) -> Array[InetAddress] raise Error_fn Resolver::lookup_by_name_with_flags(self : Resolver, hostname : String, flags : ResolverNameLookupFlags, cancellable : &ICancellable?) -> Array[InetAddress] raise Error_fn Resolver::lookup_by_name_with_flags_finish(self : Resolver, result : &IAsyncResult) -> Array[InetAddress] raise Error_fn Resolver::lookup_records(self : Resolver, rrname : String, record_type : ResolverRecordType, cancellable : &ICancellable?) -> Array[Variant] raise Error_pub(all) enum ResolverError {
NotFound
TemporaryFailure
Internal
}pub(all) enum ResolverNameLookupFlag {
Default
Ipv4Only
Ipv6Only
}pub struct ResolverNameLookupFlags {
// private fields
}fn ResolverNameLookupFlags::ResolverNameLookupFlags(flags : Array[ResolverNameLookupFlag]) -> ResolverNameLookupFlagspub(all) enum ResolverRecordType {
Srv
Mx
Txt
Soa
Ns
}pub struct ResourceFlags {
// private fields
}pub struct ResourceLookupFlags {
// private fields
}fn ResourceLookupFlags::ResourceLookupFlags(flags : Array[ResourceLookupFlag]) -> ResourceLookupFlagspub type Seekablefn Seekable::seek(self : Seekable, offset : Int64, type_ : SeekType, cancellable : &ICancellable?) -> Bool raise Error_fn Seekable::truncate(self : Seekable, offset : Int64, cancellable : &ICancellable?) -> Bool raise Error_pub type Settingsfn Settings::bind(self : Settings, key : String, object : &IObject, property : String, flags : SettingsBindFlags) -> Unitpub(all) enum SettingsBindFlag {
Default
Get
Set
NoSensitivity
GetNoChanges
InvertBoolean
}pub struct SettingsBindFlags {
// private fields
}pub type SimpleActionimpl IAction for SimpleActionimpl ISimpleAction for SimpleActionimpl IObject for SimpleActionfn SimpleAction::connect_activate(self : SimpleAction, f : (SimpleAction, Variant?) -> Unit) -> UInt64fn SimpleAction::connect_change_state(self : SimpleAction, f : (SimpleAction, Variant?) -> Unit) -> UInt64pub type SimpleActionGroupimpl IActionGroup for SimpleActionGroupimpl IActionMap for SimpleActionGroupimpl ISimpleActionGroup for SimpleActionGroupimpl IObject for SimpleActionGrouppub type SimpleAsyncResultimpl IAsyncResult for SimpleAsyncResultimpl ISimpleAsyncResult for SimpleAsyncResultimpl IObject for SimpleAsyncResultpub type SimpleIOStreamimpl IIOStream for SimpleIOStreamimpl ISimpleIOStream for SimpleIOStreamimpl IObject for SimpleIOStreamfn SimpleIOStream::new(input_stream : &IInputStream, output_stream : &IOutputStream) -> SimpleIOStreampub type SimplePermissionimpl IPermission for SimplePermissionimpl ISimplePermission for SimplePermissionimpl IObject for SimplePermissionpub type SimpleProxyResolverimpl IProxyResolver for SimpleProxyResolverimpl ISimpleProxyResolver for SimpleProxyResolverimpl IObject for SimpleProxyResolverfn SimpleProxyResolver::new(default_proxy : String?, ignore_hosts : Array[String]?) -> SimpleProxyResolverfn SimpleProxyResolver::set_default_proxy(self : SimpleProxyResolver, default_proxy : String?) -> Unitfn SimpleProxyResolver::set_ignore_hosts(self : SimpleProxyResolver, ignore_hosts : Array[String]) -> Unitfn SimpleProxyResolver::set_uri_proxy(self : SimpleProxyResolver, uri_scheme : String, proxy : String) -> Unitpub type Socketimpl IDatagramBased for Socketfn Socket::condition_timed_wait(self : Socket, condition : IOCondition, timeout_us : Int64, cancellable : &ICancellable?) -> Bool raise Error_fn Socket::condition_wait(self : Socket, condition : IOCondition, cancellable : &ICancellable?) -> Bool raise Error_fn Socket::connect(self : Socket, address : &ISocketAddress, cancellable : &ICancellable?) -> Bool raise Error_fn Socket::join_multicast_group(self : Socket, group : &IInetAddress, source_specific : Bool, iface : String?) -> Bool raise Error_fn Socket::join_multicast_group_ssm(self : Socket, group : &IInetAddress, source_specific : &IInetAddress?, iface : String?) -> Bool raise Error_fn Socket::leave_multicast_group(self : Socket, group : &IInetAddress, source_specific : Bool, iface : String?) -> Bool raise Error_fn Socket::leave_multicast_group_ssm(self : Socket, group : &IInetAddress, source_specific : &IInetAddress?, iface : String?) -> Bool raise Error_fn Socket::receive_bytes(self : Socket, size : UInt64, timeout_us : Int64, cancellable : &ICancellable?) -> Bytes raise Error_pub type SocketAddressimpl ISocketAddress for SocketAddressimpl ISocketConnectable for SocketAddressimpl IObject for SocketAddresspub type SocketAddressEnumeratorimpl IObject for SocketAddressEnumeratorfn SocketAddressEnumerator::next(self : SocketAddressEnumerator, cancellable : &ICancellable?) -> SocketAddress? raise Error_fn SocketAddressEnumerator::next_async(self : SocketAddressEnumerator, cancellable : &ICancellable?, callback : (Result[SocketAddress?, Error_]) -> Unit) -> Unitpub type SocketClientimpl ISocketClient for SocketClientimpl IObject for SocketClientfn SocketClient::connect(self : SocketClient, connectable : &ISocketConnectable, cancellable : &ICancellable?) -> SocketConnection raise Error_fn SocketClient::connect_async(self : SocketClient, connectable : &ISocketConnectable, cancellable : &ICancellable?, callback : (Result[SocketConnection, Error_]) -> Unit) -> Unitfn SocketClient::connect_event(self : SocketClient, f : (SocketClient, SocketClientEvent, SocketConnectable, IOStream?) -> Unit) -> UInt64fn SocketClient::connect_to_host(self : SocketClient, host_and_port : String, default_port : UInt, cancellable : &ICancellable?) -> SocketConnection raise Error_fn SocketClient::connect_to_host_async(self : SocketClient, host_and_port : String, default_port : UInt, cancellable : &ICancellable?, callback : (Result[SocketConnection, Error_]) -> Unit) -> Unitfn SocketClient::connect_to_service(self : SocketClient, domain : String, service : String, cancellable : &ICancellable?) -> SocketConnection raise Error_fn SocketClient::connect_to_service_async(self : SocketClient, domain : String, service : String, cancellable : &ICancellable?, callback : (Result[SocketConnection, Error_]) -> Unit) -> Unitfn SocketClient::connect_to_uri(self : SocketClient, uri : String, default_port : UInt, cancellable : &ICancellable?) -> SocketConnection raise Error_fn SocketClient::connect_to_uri_async(self : SocketClient, uri : String, default_port : UInt, cancellable : &ICancellable?, callback : (Result[SocketConnection, Error_]) -> Unit) -> Unitpub(all) enum SocketClientEvent {
Resolving
Resolved
Connecting
Connected
ProxyNegotiating
ProxyNegotiated
TlsHandshaking
TlsHandshaked
Complete
}pub type SocketConnectableimpl ISocketConnectable for SocketConnectablepub type SocketConnectionimpl IIOStream for SocketConnectionimpl ISocketConnection for SocketConnectionimpl IObject for SocketConnectionfn SocketConnection::connect(self : SocketConnection, address : &ISocketAddress, cancellable : &ICancellable?) -> Bool raise Error_fn SocketConnection::connect_async(self : SocketConnection, address : &ISocketAddress, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitpub type SocketControlMessageimpl IObject for SocketControlMessagepub type SocketListenerimpl ISocketListener for SocketListenerimpl IObject for SocketListenerfn SocketListener::add_any_inet_port(self : SocketListener, source_object : &IObject?) -> UInt raise Error_fn SocketListener::add_inet_port(self : SocketListener, port : UInt, source_object : &IObject?) -> Bool raise Error_fn SocketListener::add_socket(self : SocketListener, socket : &ISocket, source_object : &IObject?) -> Bool raise Error_fn SocketListener::connect_event(self : SocketListener, f : (SocketListener, SocketListenerEvent, Socket) -> Unit) -> UInt64pub(all) enum SocketListenerEvent {
Binding
Bound
Listening
Listened
}pub struct SocketMsgFlags {
// private fields
}pub type SocketServiceimpl ISocketListener for SocketServiceimpl ISocketService for SocketServiceimpl IObject for SocketServicefn SocketService::connect_incoming(self : SocketService, f : (SocketService, SocketConnection, Object?) -> Bool) -> UInt64pub(all) enum SocketType {
Invalid
Stream
Datagram
Seqpacket
}pub type Subprocessimpl IInitable for Subprocessimpl ISubprocess for Subprocessimpl IObject for Subprocessfn Subprocess::communicate_utf8(self : Subprocess, stdin_buf : String?, cancellable : &ICancellable?) -> (Bool, String?, String?) raise Error_fn Subprocess::communicate_utf8_finish(self : Subprocess, result : &IAsyncResult) -> (Bool, String?, String?) raise Error_fn Subprocess::wait_async(self : Subprocess, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn Subprocess::wait_check_async(self : Subprocess, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitpub(all) enum SubprocessFlag {
None
StdinPipe
StdinInherit
StdoutPipe
StdoutSilence
StderrPipe
StderrSilence
StderrMerge
InheritFds
SearchPathFromEnvp
}pub struct SubprocessFlags {
// private fields
}pub type SubprocessLauncherimpl ISubprocessLauncher for SubprocessLauncherimpl IObject for SubprocessLauncherfn SubprocessLauncher::setenv(self : SubprocessLauncher, variable : String, value : String, overwrite : Bool) -> Unitfn SubprocessLauncher::spawnv(self : SubprocessLauncher, argv : Array[String]) -> Subprocess raise Error_pub type Taskimpl IAsyncResult for Taskpub type TcpConnectionimpl IIOStream for TcpConnectionimpl ISocketConnection for TcpConnectionimpl ITcpConnection for TcpConnectionimpl IObject for TcpConnectionpub type TcpWrapperConnectionimpl IIOStream for TcpWrapperConnectionimpl ISocketConnection for TcpWrapperConnectionimpl ITcpConnection for TcpWrapperConnectionimpl IObject for TcpWrapperConnectionfn TcpWrapperConnection::new(base_io_stream : &IIOStream, socket : &ISocket) -> TcpWrapperConnectionpub type TestDBuspub struct TestDBusFlags {
// private fields
}pub type ThemedIconimpl IIcon for ThemedIconimpl IThemedIcon for ThemedIconimpl IObject for ThemedIconpub type ThreadedSocketServiceimpl ISocketListener for ThreadedSocketServiceimpl ISocketService for ThreadedSocketServiceimpl IObject for ThreadedSocketServicefn ThreadedSocketService::connect_run(self : ThreadedSocketService, f : (ThreadedSocketService, SocketConnection, Object?) -> Bool) -> UInt64pub(all) enum TlsAuthenticationMode {
None
Requested
Required
}pub type TlsBackendimpl ITlsBackend for TlsBackendpub type TlsCertificateimpl ITlsCertificate for TlsCertificateimpl IObject for TlsCertificatefn TlsCertificate::new_from_file_with_password(file : String, password : String) -> TlsCertificate raise Error_fn TlsCertificate::new_from_files(cert_file : String, key_file : String) -> TlsCertificate raise Error_fn TlsCertificate::new_from_pkcs11_uris(pkcs11_uri : String, private_key_pkcs11_uri : String?) -> TlsCertificate raise Error_fn TlsCertificate::verify(self : TlsCertificate, identity : &ISocketConnectable?, trusted_ca : &ITlsCertificate?) -> TlsCertificateFlagspub(all) enum TlsCertificateFlag {
NoFlags
UnknownCa
BadIdentity
NotActivated
Expired
Revoked
Insecure
GenericError
ValidateAll
}pub struct TlsCertificateFlags {
// private fields
}fn TlsCertificateFlags::TlsCertificateFlags(flags : Array[TlsCertificateFlag]) -> TlsCertificateFlagspub(all) enum TlsCertificateRequestFlag {
None
}pub struct TlsCertificateRequestFlags {
// private fields
}fn TlsCertificateRequestFlags::TlsCertificateRequestFlags(flags : Array[TlsCertificateRequestFlag]) -> TlsCertificateRequestFlagspub(all) enum TlsChannelBindingError {
NotImplemented
InvalidState
NotAvailable
NotSupported
GeneralError
}pub(all) enum TlsChannelBindingType {
Unique
ServerEndPoint
Exporter
}pub type TlsClientConnectionimpl ITlsClientConnection for TlsClientConnectionimpl ITlsConnection for TlsClientConnectionfn TlsClientConnection::copy_session_state(self : TlsClientConnection, source : &ITlsClientConnection) -> Unitfn TlsClientConnection::new(base_io_stream : &IIOStream, server_identity : &ISocketConnectable?) -> TlsClientConnection raise Error_fn TlsClientConnection::set_server_identity(self : TlsClientConnection, identity : &ISocketConnectable) -> Unitpub type TlsConnectionimpl IIOStream for TlsConnectionimpl ITlsConnection for TlsConnectionimpl IObject for TlsConnectionfn TlsConnection::connect_accept_certificate(self : TlsConnection, f : (TlsConnection, TlsCertificate, TlsCertificateFlags) -> Bool) -> UInt64fn TlsConnection::emit_accept_certificate(self : TlsConnection, peer_cert : &ITlsCertificate, errors : TlsCertificateFlags) -> Boolfn TlsConnection::handshake(self : TlsConnection, cancellable : &ICancellable?) -> Bool raise Error_fn TlsConnection::handshake_async(self : TlsConnection, io_priority : Int, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn TlsConnection::set_advertised_protocols(self : TlsConnection, protocols : Array[String]?) -> Unitfn TlsConnection::set_require_close_notify(self : TlsConnection, require_close_notify : Bool) -> Unitpub type TlsDatabaseimpl ITlsDatabase for TlsDatabaseimpl IObject for TlsDatabasefn TlsDatabase::create_certificate_handle(self : TlsDatabase, certificate : &ITlsCertificate) -> String?fn TlsDatabase::lookup_certificate_for_handle(self : TlsDatabase, handle : String, interaction : &ITlsInteraction?, flags : TlsDatabaseLookupFlags, cancellable : &ICancellable?) -> TlsCertificate? raise Error_fn TlsDatabase::lookup_certificate_for_handle_async(self : TlsDatabase, handle : String, interaction : &ITlsInteraction?, flags : TlsDatabaseLookupFlags, cancellable : &ICancellable?, callback : (Result[TlsCertificate, Error_]) -> Unit) -> Unitfn TlsDatabase::lookup_certificate_issuer(self : TlsDatabase, certificate : &ITlsCertificate, interaction : &ITlsInteraction?, flags : TlsDatabaseLookupFlags, cancellable : &ICancellable?) -> TlsCertificate raise Error_fn TlsDatabase::lookup_certificate_issuer_async(self : TlsDatabase, certificate : &ITlsCertificate, interaction : &ITlsInteraction?, flags : TlsDatabaseLookupFlags, cancellable : &ICancellable?, callback : (Result[TlsCertificate, Error_]) -> Unit) -> Unitfn TlsDatabase::lookup_certificates_issued_by_finish(self : TlsDatabase, result : &IAsyncResult) -> Array[TlsCertificate] raise Error_fn TlsDatabase::verify_chain(self : TlsDatabase, chain : &ITlsCertificate, purpose : String, identity : &ISocketConnectable?, interaction : &ITlsInteraction?, flags : TlsDatabaseVerifyFlags, cancellable : &ICancellable?) -> TlsCertificateFlags raise Error_fn TlsDatabase::verify_chain_async(self : TlsDatabase, chain : &ITlsCertificate, purpose : String, identity : &ISocketConnectable?, interaction : &ITlsInteraction?, flags : TlsDatabaseVerifyFlags, cancellable : &ICancellable?, callback : (Result[TlsCertificateFlags, Error_]) -> Unit) -> Unitpub(all) enum TlsDatabaseLookupFlag {
None
Keypair
}pub struct TlsDatabaseLookupFlags {
// private fields
}fn TlsDatabaseLookupFlags::TlsDatabaseLookupFlags(flags : Array[TlsDatabaseLookupFlag]) -> TlsDatabaseLookupFlagspub struct TlsDatabaseVerifyFlags {
// private fields
}fn TlsDatabaseVerifyFlags::TlsDatabaseVerifyFlags(flags : Array[TlsDatabaseVerifyFlag]) -> TlsDatabaseVerifyFlagspub(all) enum TlsError {
Unavailable
Misc
BadCertificate
NotTls
Handshake
CertificateRequired
Eof
InappropriateFallback
BadCertificatePassword
}pub type TlsFileDatabaseimpl ITlsDatabase for TlsFileDatabaseimpl ITlsFileDatabase for TlsFileDatabasepub type TlsInteractionimpl ITlsInteraction for TlsInteractionimpl IObject for TlsInteractionfn TlsInteraction::ask_password(self : TlsInteraction, password : &ITlsPassword, cancellable : &ICancellable?) -> TlsInteractionResult raise Error_fn TlsInteraction::ask_password_async(self : TlsInteraction, password : &ITlsPassword, cancellable : &ICancellable?, callback : (Result[TlsInteractionResult, Error_]) -> Unit) -> Unitfn TlsInteraction::invoke_ask_password(self : TlsInteraction, password : &ITlsPassword, cancellable : &ICancellable?) -> TlsInteractionResult raise Error_fn TlsInteraction::invoke_request_certificate(self : TlsInteraction, connection : &ITlsConnection, flags : TlsCertificateRequestFlags, cancellable : &ICancellable?) -> TlsInteractionResult raise Error_fn TlsInteraction::request_certificate(self : TlsInteraction, connection : &ITlsConnection, flags : TlsCertificateRequestFlags, cancellable : &ICancellable?) -> TlsInteractionResult raise Error_fn TlsInteraction::request_certificate_async(self : TlsInteraction, connection : &ITlsConnection, flags : TlsCertificateRequestFlags, cancellable : &ICancellable?, callback : (Result[TlsInteractionResult, Error_]) -> Unit) -> Unitpub(all) enum TlsInteractionResult {
Unhandled
Handled
Failed
}pub type TlsPasswordimpl ITlsPassword for TlsPasswordimpl IObject for TlsPasswordpub(all) enum TlsPasswordFlag {
None
Retry
ManyTries
FinalTry
Pkcs11User
Pkcs11SecurityOfficer
Pkcs11ContextSpecific
}pub struct TlsPasswordFlags {
// private fields
}pub(all) enum TlsProtocolVersion {
Unknown
Ssl30
Tls10
Tls11
Tls12
Tls13
Dtls10
Dtls12
}pub(all) enum TlsRehandshakeMode {
Never
Safely
Unsafely
}pub type TlsServerConnectionimpl ITlsConnection for TlsServerConnectionimpl ITlsServerConnection for TlsServerConnectionfn TlsServerConnection::new(base_io_stream : &IIOStream, certificate : &ITlsCertificate?) -> TlsServerConnection raise Error_pub type UnixConnectionimpl IIOStream for UnixConnectionimpl ISocketConnection for UnixConnectionimpl IUnixConnection for UnixConnectionimpl IObject for UnixConnectionfn UnixConnection::receive_credentials(self : UnixConnection, cancellable : &ICancellable?) -> Credentials raise Error_fn UnixConnection::receive_credentials_async(self : UnixConnection, cancellable : &ICancellable?, callback : (Result[Credentials, Error_]) -> Unit) -> Unitfn UnixConnection::receive_fd(self : UnixConnection, cancellable : &ICancellable?) -> Int raise Error_fn UnixConnection::send_credentials(self : UnixConnection, cancellable : &ICancellable?) -> Bool raise Error_fn UnixConnection::send_credentials_async(self : UnixConnection, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn UnixConnection::send_fd(self : UnixConnection, fd : Int, cancellable : &ICancellable?) -> Bool raise Error_pub type UnixCredentialsMessageimpl IObject for UnixCredentialsMessagefn UnixCredentialsMessage::as_socket_control_message(self : UnixCredentialsMessage) -> SocketControlMessagefn UnixCredentialsMessage::new_with_credentials(credentials : &ICredentials) -> UnixCredentialsMessagepub type UnixFDListimpl IUnixFDList for UnixFDListimpl IObject for UnixFDListpub type UnixSocketAddressimpl ISocketAddress for UnixSocketAddressimpl ISocketConnectable for UnixSocketAddressimpl IUnixSocketAddress for UnixSocketAddressimpl IObject for UnixSocketAddresspub(all) enum UnixSocketAddressType {
Invalid
Anonymous
Path
Abstract
AbstractPadded
}pub type Vfspub type Volumefn Volume::eject_with_operation(self : Volume, flags : MountUnmountFlags, mount_operation : &IMountOperation?, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitfn Volume::mount(self : Volume, flags : MountMountFlags, mount_operation : &IMountOperation?, cancellable : &ICancellable?, callback : (Result[Bool, Error_]) -> Unit) -> Unitpub type VolumeMonitorimpl IVolumeMonitor for VolumeMonitorimpl IObject for VolumeMonitorfn VolumeMonitor::connect_drive_changed(self : VolumeMonitor, f : (VolumeMonitor, Drive) -> Unit) -> UInt64fn VolumeMonitor::connect_drive_connected(self : VolumeMonitor, f : (VolumeMonitor, Drive) -> Unit) -> UInt64fn VolumeMonitor::connect_drive_disconnected(self : VolumeMonitor, f : (VolumeMonitor, Drive) -> Unit) -> UInt64fn VolumeMonitor::connect_drive_eject_button(self : VolumeMonitor, f : (VolumeMonitor, Drive) -> Unit) -> UInt64fn VolumeMonitor::connect_drive_stop_button(self : VolumeMonitor, f : (VolumeMonitor, Drive) -> Unit) -> UInt64fn VolumeMonitor::connect_mount_added(self : VolumeMonitor, f : (VolumeMonitor, Mount) -> Unit) -> UInt64fn VolumeMonitor::connect_mount_changed(self : VolumeMonitor, f : (VolumeMonitor, Mount) -> Unit) -> UInt64fn VolumeMonitor::connect_mount_pre_unmount(self : VolumeMonitor, f : (VolumeMonitor, Mount) -> Unit) -> UInt64fn VolumeMonitor::connect_mount_removed(self : VolumeMonitor, f : (VolumeMonitor, Mount) -> Unit) -> UInt64fn VolumeMonitor::connect_volume_added(self : VolumeMonitor, f : (VolumeMonitor, Volume) -> Unit) -> UInt64fn VolumeMonitor::connect_volume_changed(self : VolumeMonitor, f : (VolumeMonitor, Volume) -> Unit) -> UInt64fn VolumeMonitor::connect_volume_removed(self : VolumeMonitor, f : (VolumeMonitor, Volume) -> Unit) -> UInt64pub type ZlibCompressorimpl IConverter for ZlibCompressorimpl IZlibCompressor for ZlibCompressorimpl IObject for ZlibCompressorpub(all) enum ZlibCompressorFormat {
Zlib
Gzip
Raw
}pub type ZlibDecompressorimpl IConverter for ZlibDecompressorimpl IZlibDecompressor for ZlibDecompressorimpl IObject for ZlibDecompressorlet MENU_EXPORTER_MAX_SECTION_SIZE : IntMoonBit bindings for GIO (Application, File, D-Bus, streams, sockets, etc.)
Dependencies