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: AsAlpmList<&'a str>>(&self, list: L) -> Result<()>
pub fn remove_server<S: Into<Vec<u8>>>(&self, server: S) -> Result<()>
Methods from Deref<Target = Db>§
pub fn as_ptr(&self) -> *mut alpm_db_t
pub fn name(&self) -> &str
pub fn servers(&self) -> AlpmList<'_, &str>
pub fn pkg<S: Into<Vec<u8>>>(&self, name: S) -> Result<&Package>
pub fn pkgs(&self) -> AlpmList<'_, &Package>
pub fn group<S: Into<Vec<u8>>>(&self, name: S) -> Result<&Group>
pub fn set_usage(&self, usage: Usage) -> Result<()>
pub fn search<'a, L>(&'a self, list: L) -> Result<AlpmListMut<&'a Package>>where
L: AsAlpmList<&'a str>,
pub fn groups(&self) -> Result<AlpmList<'_, &Group>>
pub fn siglevel(&self) -> SigLevel
pub fn is_valid(&self) -> Result<()>
pub fn usage(&self) -> Result<Usage>
pub fn check_signature(&self, siglist: &mut SigList) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl<'h> Freeze for DbMut<'h>
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