[−][src]Struct alpm::Db
Methods
impl<'a> Db<'a>
[src]
impl<'a> Db<'a>
[src]
pub fn name(&self) -> &str
[src]
pub fn unregister(self)
[src]
pub fn add_server<S: Into<String>>(&mut self, server: S) -> Result<()>
[src]
ⓘImportant traits for AlpmList<'a, T>pub fn servers(&self) -> AlpmList<&str>
[src]
ⓘImportant traits for AlpmList<'a, T>
pub fn set_servers<S: Into<String>, I: IntoIterator<Item = S>>(
&mut self,
list: I
) -> Result<()>
[src]
&mut self,
list: I
) -> Result<()>
pub fn remove_server<S: Into<String>>(&mut self, server: S) -> Result<()>
[src]
pub fn pkg<S: Into<String>>(&self, name: S) -> Result<Package<'a>>
[src]
pub fn pkgs(&self) -> Result<AlpmList<'a, Package<'a>>>
[src]
pub fn group<S: Into<String>>(&self, name: S) -> Result<Group>
[src]
pub fn search<S: Into<String>, I: IntoIterator<Item = S>>(
&self,
list: I
) -> Result<AlpmList<'a, Package<'a>>>
[src]
&self,
list: I
) -> Result<AlpmList<'a, Package<'a>>>
pub fn groups(&self) -> Result<AlpmList<'a, Group>>
[src]
pub fn siglevel(&self) -> SigLevel
[src]
pub fn is_valid(&self) -> Result<()>
[src]
pub fn set_usage(&mut self, usage: Usage) -> Result<()>
[src]
pub fn usage(&self) -> Result<Usage>
[src]
impl<'a> Db<'a>
[src]
Trait Implementations
impl<'a> AsAlpmListItem<'a> for Db<'a>
[src]
fn as_alpm_list_item(
handle: &'a Alpm,
ptr: *mut c_void,
_free: FreeMethod
) -> Self
[src]
handle: &'a Alpm,
ptr: *mut c_void,
_free: FreeMethod
) -> Self
impl<'a> Debug for Db<'a>
[src]
Auto Trait Implementations
impl<'a> !Send for Db<'a>
impl<'a> Unpin for Db<'a>
impl<'a> !Sync for Db<'a>
impl<'a> RefUnwindSafe for Db<'a>
impl<'a> UnwindSafe for Db<'a>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,