Trait reproto_core::Object [] [src]

pub trait Object: Send + Display + Debug {
    fn path(&self) -> Option<&Path>;
fn read<'a>(&'a self) -> Result<Box<Read + 'a>>;
fn clone_object(&self) -> Box<Object>;
fn with_name(&self, name: String) -> Box<Object>; }

Required Methods

Get a path to the object, if one exists.

Open a reader to the object.

Lightweight cloning of this object.

Convert the current object with the given name.

Implementors