Trait gio::CancellableExt
[−]
[src]
pub trait CancellableExt {
fn cancel(&self);
fn disconnect(&self, handler_id: c_ulong);
fn get_fd(&self) -> i32;
fn is_cancelled(&self) -> bool;
fn pop_current(&self);
fn push_current(&self);
fn release_fd(&self);
fn reset(&self);
fn set_error_if_cancelled(&self) -> Result<(), Error>;
fn connect_cancelled<F: Fn(&Self) + 'static>(&self, f: F) -> u64;
}
Required Methods
fn cancel(&self)
fn disconnect(&self, handler_id: c_ulong)
fn get_fd(&self) -> i32
fn is_cancelled(&self) -> bool
fn pop_current(&self)
fn push_current(&self)
fn release_fd(&self)
fn reset(&self)
fn set_error_if_cancelled(&self) -> Result<(), Error>
fn connect_cancelled<F: Fn(&Self) + 'static>(&self, f: F) -> u64
Implementors
impl<O: IsA<Cancellable> + IsA<Object>> CancellableExt for O