pub struct PathIO;
Implementations§
§impl PathIO
impl PathIO
pub fn ReadTextAsync(absolutepath: &HSTRING) -> Result<IAsyncOperation<HSTRING>>
pub fn ReadTextWithEncodingAsync( absolutepath: &HSTRING, encoding: UnicodeEncoding, ) -> Result<IAsyncOperation<HSTRING>>
pub fn WriteTextAsync( absolutepath: &HSTRING, contents: &HSTRING, ) -> Result<IAsyncAction>
pub fn WriteTextWithEncodingAsync( absolutepath: &HSTRING, contents: &HSTRING, encoding: UnicodeEncoding, ) -> Result<IAsyncAction>
pub fn AppendTextAsync( absolutepath: &HSTRING, contents: &HSTRING, ) -> Result<IAsyncAction>
pub fn AppendTextWithEncodingAsync( absolutepath: &HSTRING, contents: &HSTRING, encoding: UnicodeEncoding, ) -> Result<IAsyncAction>
pub fn ReadLinesAsync( absolutepath: &HSTRING, ) -> Result<IAsyncOperation<IVector<HSTRING>>>
pub fn ReadLinesWithEncodingAsync( absolutepath: &HSTRING, encoding: UnicodeEncoding, ) -> Result<IAsyncOperation<IVector<HSTRING>>>
pub fn WriteLinesAsync<P0>(
absolutepath: &HSTRING,
lines: P0,
) -> Result<IAsyncAction>where
P0: Param<IIterable<HSTRING>>,
pub fn WriteLinesWithEncodingAsync<P0>(
absolutepath: &HSTRING,
lines: P0,
encoding: UnicodeEncoding,
) -> Result<IAsyncAction>where
P0: Param<IIterable<HSTRING>>,
pub fn AppendLinesAsync<P0>(
absolutepath: &HSTRING,
lines: P0,
) -> Result<IAsyncAction>where
P0: Param<IIterable<HSTRING>>,
pub fn AppendLinesWithEncodingAsync<P0>(
absolutepath: &HSTRING,
lines: P0,
encoding: UnicodeEncoding,
) -> Result<IAsyncAction>where
P0: Param<IIterable<HSTRING>>,
pub fn ReadBufferAsync( absolutepath: &HSTRING, ) -> Result<IAsyncOperation<IBuffer>>
pub fn WriteBufferAsync<P0>(
absolutepath: &HSTRING,
buffer: P0,
) -> Result<IAsyncAction>where
P0: Param<IBuffer>,
pub fn WriteBytesAsync( absolutepath: &HSTRING, buffer: &[u8], ) -> Result<IAsyncAction>
Auto Trait Implementations§
impl Freeze for PathIO
impl RefUnwindSafe for PathIO
impl Send for PathIO
impl Sync for PathIO
impl Unpin for PathIO
impl UnwindSafe for PathIO
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more