pub enum UbuntuRepo {
Show 22 variants
NobleMain,
NobleRestricted,
NobleUniverse,
NobleMultiverse,
NobleUpdatesMain,
NobleUpdatesUniverse,
NobleSecurityMain,
NobleSecurityUniverse,
NobleBackportsMain,
NobleBackportsUniverse,
JammyMain,
JammyRestricted,
JammyUniverse,
JammyMultiverse,
JammyUpdatesMain,
JammyUpdatesUniverse,
JammySecurityMain,
JammySecurityUniverse,
JammyBackportsMain,
JammyBackportsUniverse,
OracularMain,
OracularUniverse,
}Expand description
Available Ubuntu repositories.
Variants§
NobleMain
Noble main repository
NobleRestricted
Noble restricted repository
NobleUniverse
Noble universe repository
NobleMultiverse
Noble multiverse repository
NobleUpdatesMain
Noble updates main
NobleUpdatesUniverse
Noble updates universe
NobleSecurityMain
Noble security main
NobleSecurityUniverse
Noble security universe
NobleBackportsMain
Noble backports main
NobleBackportsUniverse
Noble backports universe
JammyMain
Jammy main repository
JammyRestricted
Jammy restricted repository
JammyUniverse
Jammy universe repository
JammyMultiverse
Jammy multiverse repository
JammyUpdatesMain
Jammy updates main
JammyUpdatesUniverse
Jammy updates universe
JammySecurityMain
Jammy security main
JammySecurityUniverse
Jammy security universe
JammyBackportsMain
Jammy backports main
JammyBackportsUniverse
Jammy backports universe
OracularMain
Oracular main repository
OracularUniverse
Oracular universe repository
Implementations§
Source§impl UbuntuRepo
impl UbuntuRepo
Sourcepub fn all() -> &'static [UbuntuRepo]
pub fn all() -> &'static [UbuntuRepo]
All available repositories.
Sourcepub fn noble() -> &'static [UbuntuRepo]
pub fn noble() -> &'static [UbuntuRepo]
Noble (24.04 LTS) repositories only.
Sourcepub fn jammy() -> &'static [UbuntuRepo]
pub fn jammy() -> &'static [UbuntuRepo]
Jammy (22.04 LTS) repositories only.
Sourcepub fn lts() -> &'static [UbuntuRepo]
pub fn lts() -> &'static [UbuntuRepo]
LTS releases only (Noble + Jammy).
Sourcepub fn main_only() -> &'static [UbuntuRepo]
pub fn main_only() -> &'static [UbuntuRepo]
Main repositories only (no universe/multiverse).
Trait Implementations§
Source§impl Clone for UbuntuRepo
impl Clone for UbuntuRepo
Source§fn clone(&self) -> UbuntuRepo
fn clone(&self) -> UbuntuRepo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UbuntuRepo
impl Debug for UbuntuRepo
Source§impl Hash for UbuntuRepo
impl Hash for UbuntuRepo
Source§impl PartialEq for UbuntuRepo
impl PartialEq for UbuntuRepo
impl Copy for UbuntuRepo
impl Eq for UbuntuRepo
impl StructuralPartialEq for UbuntuRepo
Auto Trait Implementations§
impl Freeze for UbuntuRepo
impl RefUnwindSafe for UbuntuRepo
impl Send for UbuntuRepo
impl Sync for UbuntuRepo
impl Unpin for UbuntuRepo
impl UnwindSafe for UbuntuRepo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more