Trait ux::prelude::FileInputStreamExt[]

pub trait FileInputStreamExt: 'static {
    pub fn query_info<P>(
        &self,
        attributes: &str,
        cancellable: Option<&P>
    ) -> Result<FileInfo, Error>
    where
        P: IsA<Cancellable>
;
pub fn query_info_async<P, Q>(
        &self,
        attributes: &str,
        io_priority: Priority,
        cancellable: Option<&P>,
        callback: Q
    )
    where
        P: IsA<Cancellable>,
        Q: 'static + FnOnce(Result<FileInfo, Error>) + Send
;
pub fn query_info_async_future(
        &self,
        attributes: &str,
        io_priority: Priority
    ) -> Pin<Box<dyn Future<Output = Result<FileInfo, Error>> + 'static, Global>>; }

Required methods

pub fn query_info<P>(
    &self,
    attributes: &str,
    cancellable: Option<&P>
) -> Result<FileInfo, Error> where
    P: IsA<Cancellable>, 

pub fn query_info_async<P, Q>(
    &self,
    attributes: &str,
    io_priority: Priority,
    cancellable: Option<&P>,
    callback: Q
) where
    P: IsA<Cancellable>,
    Q: 'static + FnOnce(Result<FileInfo, Error>) + Send

pub fn query_info_async_future(
    &self,
    attributes: &str,
    io_priority: Priority
) -> Pin<Box<dyn Future<Output = Result<FileInfo, Error>> + 'static, Global>>

Loading content...

Implementors

impl<O> FileInputStreamExt for O where
    O: IsA<FileInputStream>, 

Loading content...