pub struct Provider<'a> { /* private fields */ }Implementations§
Methods from Deref<Target = RawProvider>§
pub fn version_str(&self) -> Result<&str, Exception>
sourcepub fn target_pkg(&self) -> Package
pub fn target_pkg(&self) -> Package
The Target Package that can satisfy this provides
sourcepub fn target_ver(&self) -> Version
pub fn target_ver(&self) -> Version
The Target Version that can satisfy this provides
pub fn raw_next(&self)
pub fn unique(&self) -> Provider
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Provider<'a>
impl<'a> !Send for Provider<'a>
impl<'a> !Sync for Provider<'a>
impl<'a> Unpin for Provider<'a>
impl<'a> !UnwindSafe for Provider<'a>
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