Struct PathIO
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<P1>(
absolutepath: &HSTRING,
lines: P1,
) -> Result<IAsyncAction>where
P1: Param<IIterable<HSTRING>>,
pub fn WriteLinesWithEncodingAsync<P1>(
absolutepath: &HSTRING,
lines: P1,
encoding: UnicodeEncoding,
) -> Result<IAsyncAction>where
P1: Param<IIterable<HSTRING>>,
pub fn AppendLinesAsync<P1>(
absolutepath: &HSTRING,
lines: P1,
) -> Result<IAsyncAction>where
P1: Param<IIterable<HSTRING>>,
pub fn AppendLinesWithEncodingAsync<P1>(
absolutepath: &HSTRING,
lines: P1,
encoding: UnicodeEncoding,
) -> Result<IAsyncAction>where
P1: Param<IIterable<HSTRING>>,
pub fn ReadBufferAsync( absolutepath: &HSTRING, ) -> Result<IAsyncOperation<IBuffer>>
pub fn WriteBufferAsync<P1>(
absolutepath: &HSTRING,
buffer: P1,
) -> Result<IAsyncAction>where
P1: 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