pub struct DbMut<'h> { /* private fields */ }
Implementations§
source§impl<'h> DbMut<'h>
impl<'h> DbMut<'h>
pub fn unregister(self)
pub fn add_server<S: Into<Vec<u8>>>(&self, server: S) -> Result<()>
pub fn set_servers<'a, L: IntoRawAlpmList<'a, String>>( &self, list: L ) -> Result<()>
pub fn remove_server<S: Into<Vec<u8>>>(&self, server: S) -> Result<()>
Methods from Deref<Target = Db<'h>>§
pub fn name(&self) -> &'h str
pub fn servers(&self) -> AlpmList<'h, &'h str>
pub fn pkg<S: Into<Vec<u8>>>(&self, name: S) -> Result<Package<'h>>
pub fn pkgs(&self) -> AlpmList<'h, Package<'h>>
pub fn group<S: Into<Vec<u8>>>(&self, name: S) -> Result<Group<'h>>
pub fn set_usage(&self, usage: Usage) -> Result<()>
pub fn search<L>(&self, list: L) -> Result<AlpmListMut<'h, Package<'h>>>where
L: IntoRawAlpmList<'h, String>,
pub fn groups(&self) -> Result<AlpmList<'h, Group<'h>>>
pub fn siglevel(&self) -> SigLevel
pub fn is_valid(&self) -> Result<()>
pub fn usage(&self) -> Result<Usage>
pub fn check_signature(&self) -> Result<(bool, SigList)>
Trait Implementations§
Auto Trait Implementations§
impl<'h> !RefUnwindSafe for DbMut<'h>
impl<'h> !Send for DbMut<'h>
impl<'h> !Sync for DbMut<'h>
impl<'h> Unpin for DbMut<'h>
impl<'h> !UnwindSafe for DbMut<'h>
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