[][src]Struct alpm::DbMut

pub struct DbMut<'a> { /* fields omitted */ }

Implementations

impl<'a> DbMut<'a>[src]

pub fn update(&mut self, force: bool) -> Result<bool>[src]

impl<'a> DbMut<'a>[src]

pub fn unregister(self)[src]

pub fn add_server<S: Into<Vec<u8>>>(&self, server: S) -> Result<()>[src]

pub fn set_servers<L: AsRawAlpmList<'a, String>>(&self, list: L) -> Result<()>[src]

pub fn remove_server<S: Into<Vec<u8>>>(&self, server: S) -> Result<()>[src]

Methods from Deref<Target = Db<'a>>

pub fn name(&self) -> &'a str[src]

pub fn servers(&self) -> AlpmList<'_, &'a str>[src]

pub fn pkg<S: Into<Vec<u8>>>(&self, name: S) -> Result<Package<'a>>[src]

pub fn pkgs(&self) -> AlpmList<'a, Package<'a>>[src]

pub fn group<S: Into<Vec<u8>>>(&self, name: S) -> Result<Group<'a>>[src]

pub fn set_usage(&self, usage: Usage) -> Result<()>[src]

pub fn search<L>(&self, list: L) -> Result<AlpmListMut<'a, Package<'a>>> where
    L: AsRawAlpmList<'a, String>, 
[src]

pub fn groups(&self) -> Result<AlpmListMut<'a, Group<'a>>>[src]

pub fn siglevel(&self) -> SigLevel[src]

pub fn is_valid(&self) -> Result<()>[src]

pub fn usage(&self) -> Result<Usage>[src]

Trait Implementations

impl<'a> Debug for DbMut<'a>[src]

impl<'a> Deref for DbMut<'a>[src]

type Target = Db<'a>

The resulting type after dereferencing.

impl<'a> Into<Db<'a>> for DbMut<'a>[src]

impl<'a, 'b> IntoAlpmListItem<'a, 'b> for DbMut<'a>[src]

type Borrow = Self

Auto Trait Implementations

impl<'a> RefUnwindSafe for DbMut<'a>

impl<'a> !Send for DbMut<'a>

impl<'a> !Sync for DbMut<'a>

impl<'a> Unpin for DbMut<'a>

impl<'a> UnwindSafe for DbMut<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.