Trait reproto_core::AsPackage [] [src]

pub trait AsPackage where
    Self: Sized
{ fn try_as_package<'a>(&'a self) -> Result<Cow<'a, RpPackage>>;
fn prefix_with(self, prefix: RpPackage) -> Self; }

Required Methods

Attempt to treat the current object as a package.

Attempt to prefix the package.

Implementors