pub struct ShellManager { /* private fields */ }Implementations§
Source§impl ShellManager
impl ShellManager
pub fn open(root: impl Into<PathBuf>) -> ShellResult<Self>
pub fn snapshot(&self) -> ShellSnapshot
pub fn replace_activators( &self, items: Vec<ShellActivator>, ) -> ShellResult<ShellSnapshot>
pub fn update_activator( &self, id: &str, patch: ShellActivatorUpdate, ) -> ShellResult<ShellSnapshot>
pub fn remove_activator(&self, id: &str) -> ShellResult<ShellSnapshot>
pub fn clear_activators(&self) -> ShellResult<ShellSnapshot>
pub fn commit_activators( &self, expected_generation: u64, next: ActivatorCollection, ) -> ShellResult<ShellSnapshot>
pub fn pin( &self, target: ShellPinTarget, ) -> ShellResult<(PinMutation, ShellSnapshot)>
pub fn unpin( &self, target: &ShellPinTarget, ) -> ShellResult<(PinMutation, ShellSnapshot)>
pub fn commit_pins( &self, expected: &PinCollection, next: PinCollection, ) -> ShellResult<ShellSnapshot>
Auto Trait Implementations§
impl !Freeze for ShellManager
impl RefUnwindSafe for ShellManager
impl Send for ShellManager
impl Sync for ShellManager
impl Unpin for ShellManager
impl UnsafeUnpin for ShellManager
impl UnwindSafe for ShellManager
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