Trait gio::prelude::PermissionExt
[−]
[src]
pub trait PermissionExt { fn acquire<'a, P: Into<Option<&'a Cancellable>>>(
&self,
cancellable: P
) -> Result<(), Error>; fn get_allowed(&self) -> bool; fn get_can_acquire(&self) -> bool; fn get_can_release(&self) -> bool; fn impl_update(&self, allowed: bool, can_acquire: bool, can_release: bool); fn release<'a, P: Into<Option<&'a Cancellable>>>(
&self,
cancellable: P
) -> Result<(), Error>; fn get_property_allowed(&self) -> bool; fn get_property_can_acquire(&self) -> bool; fn get_property_can_release(&self) -> bool; }
Required Methods
fn acquire<'a, P: Into<Option<&'a Cancellable>>>(
&self,
cancellable: P
) -> Result<(), Error>
&self,
cancellable: P
) -> Result<(), Error>
fn get_allowed(&self) -> bool
fn get_can_acquire(&self) -> bool
fn get_can_release(&self) -> bool
fn impl_update(&self, allowed: bool, can_acquire: bool, can_release: bool)
fn release<'a, P: Into<Option<&'a Cancellable>>>(
&self,
cancellable: P
) -> Result<(), Error>
&self,
cancellable: P
) -> Result<(), Error>
fn get_property_allowed(&self) -> bool
fn get_property_can_acquire(&self) -> bool
fn get_property_can_release(&self) -> bool
Implementors
impl<O: IsA<Permission> + IsA<Object>> PermissionExt for O