pub struct Installed {
pub name: String,
pub program: PathBuf,
pub info: Result<PluginInfo, String>,
pub bytes: u64,
pub removable: bool,
}Expand description
A plugin found, and what the manager knows of it.
Fields§
§name: StringIts program’s file name (lumen-ml-sam).
program: PathBufIts program.
info: Result<PluginInfo, String>Its manifest, or why it could not be read.
bytes: u64Bytes it takes: its program and what it downloaded (its family in the hub).
removable: boolWhether the manager installed it (in the user’s plugin folder), so it can remove it.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Installed
impl Freeze for Installedwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for Installed
impl RefUnwindSafe for Installed
impl Send for Installed
impl Sync for Installed
impl Unpin for Installed
impl UnsafeUnpin for Installedwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for Installed
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