pub enum Plugin {
Source(About, Box<dyn Source>),
Format(About, Box<dyn Format>),
Destination(About, Box<dyn Destination>),
}Expand description
One of the plugins a package’s executable serves (see serve_package).
Variants§
Source(About, Box<dyn Source>)
Format(About, Box<dyn Format>)
Destination(About, Box<dyn Destination>)
Auto Trait Implementations§
impl !RefUnwindSafe for Plugin
impl !Send for Plugin
impl !Sync for Plugin
impl !UnwindSafe for Plugin
impl Freeze for Plugin
impl Unpin for Plugin
impl UnsafeUnpin for Plugin
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more