Trait gio::CancellableExt[][src]

pub trait CancellableExt: 'static {
    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 set_error_if_cancelled(&self) -> Result<(), Error>;
fn connect_cancelled<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn cancel(&self)[src]

fn disconnect(&self, handler_id: c_ulong)[src]

fn get_fd(&self) -> i32[src]

fn is_cancelled(&self) -> bool[src]

fn pop_current(&self)[src]

fn push_current(&self)[src]

fn release_fd(&self)[src]

fn set_error_if_cancelled(&self) -> Result<(), Error>[src]

fn connect_cancelled<F: Fn(&Self) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Loading content...

Implementors

impl<O: IsA<Cancellable>> CancellableExt for O[src]

Loading content...