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