Struct gpgme::engine::EngineInfoGuard [−][src]
pub struct EngineInfoGuard(_);
Expand description
A RAII guard type that ensures the global engine information list is not modified while it is being iterated.
Implementations
pub fn iter(&self) -> EngineInfos<'_>ⓘNotable traits for EngineInfos<'a>impl<'a> Iterator for EngineInfos<'a> type Item = EngineInfo<'a>;
Notable traits for EngineInfos<'a>
impl<'a> Iterator for EngineInfos<'a> type Item = EngineInfo<'a>;
Trait Implementations
type Item = EngineInfo<'a>
type Item = EngineInfo<'a>
The type of the elements being iterated over.
type IntoIter = EngineInfos<'a>
type IntoIter = EngineInfos<'a>
Which kind of iterator are we turning this into?
Auto Trait Implementations
impl RefUnwindSafe for EngineInfoGuard
impl !Send for EngineInfoGuard
impl Sync for EngineInfoGuard
impl Unpin for EngineInfoGuard
impl UnwindSafe for EngineInfoGuard
Blanket Implementations
Convert the given value into an approximately equivalent representation.
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Src where
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Src where
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
The error type produced by a failed conversion.
Convert the subject into an approximately equivalent representation.
Mutably borrows from an owned value. Read more
Approximate the subject with the default scheme.
fn approx_by<Scheme>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
fn approx_by<Scheme>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
Approximate the subject with a specific scheme.
Approximate the subject to a given type with the default scheme.
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
Approximate the subject to a given type with a specific scheme.
Attempt to convert the subject to a given type.