[][src]Struct rwfile::RWFile

pub struct RWFile { /* fields omitted */ }

A readable and writeable file

Implementations

impl RWFile[src]

pub fn new<P: AsRef<Path>>(path: P) -> Self[src]

create a RWFile object at path

pub fn reader(&self) -> FileReader[src]

create a reader for file

pub fn writer(&self) -> FileWriter[src]

create a writer for file

Trait Implementations

impl Sync for RWFile[src]

Auto Trait Implementations

impl RefUnwindSafe for RWFile

impl Send for RWFile

impl Unpin for RWFile

impl UnwindSafe for RWFile

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.