Trait reproto_core::Object [] [src]

pub trait Object: Send + Display + Debug {
    fn path(&self) -> Option<&Path>;
fn read(&self) -> Result<Box<Read>>;
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.

Important traits for Box<W>

Lightweight cloning of this object.

Important traits for Box<W>

Convert the current object with the given name.

Implementors