Struct reproto_core::PathObject
[−]
[src]
pub struct PathObject { /* fields omitted */ }
Methods
impl PathObject
[src]
fn new<P: AsRef<Path>>(path: P) -> PathObject
[src]
Trait Implementations
impl Debug for PathObject
[src]
impl Object for PathObject
[src]
fn path(&self) -> Option<&Path>
[src]
Get a path to the object, if one exists.
fn read(&self) -> Result<Box<Read>>
[src]
Open a reader to the object.