Trait ux::prelude::FileOutputStreamExt [−]
pub trait FileOutputStreamExt: 'static {
pub fn get_etag(&self) -> Option<GString>;
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 get_etag(&self) -> Option<GString>
pub fn query_info<P>(
&self,
attributes: &str,
cancellable: Option<&P>
) -> Result<FileInfo, Error> where
P: IsA<Cancellable>,
&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,
&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>>
&self,
attributes: &str,
io_priority: Priority
) -> Pin<Box<dyn Future<Output = Result<FileInfo, Error>> + 'static, Global>>
Implementors
impl<O> FileOutputStreamExt for O where
O: IsA<FileOutputStream>,
O: IsA<FileOutputStream>,
pub fn get_etag(&self) -> Option<GString>
pub fn query_info<P>(
&self,
attributes: &str,
cancellable: Option<&P>
) -> Result<FileInfo, Error> where
P: IsA<Cancellable>,
&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,
&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>>
&self,
attributes: &str,
io_priority: Priority
) -> Pin<Box<dyn Future<Output = Result<FileInfo, Error>> + 'static, Global>>