pub struct PrePoolFilter {
pub symfony_require: String,
pub symfony: Constraint,
pub root_constraints: BTreeMap<String, Constraint>,
pub versions: FlexVersions,
}Expand description
What a PRE_POOL_CREATE listener does to the loaded packages before
the pool exists — symfony/flex’s truncatePackages is the one
emulated (flex_filter): the root constraints it consults, the
requirement and the index.
Fields§
§symfony_require: Stringextra.symfony.require as Flex reads it (.x → .x-dev), for the notice.
symfony: Constraint§root_constraints: BTreeMap<String, Constraint>getRequires() + getDevRequires() of the root package.
versions: FlexVersionsTrait Implementations§
Source§impl Clone for PrePoolFilter
impl Clone for PrePoolFilter
Auto Trait Implementations§
impl Freeze for PrePoolFilter
impl RefUnwindSafe for PrePoolFilter
impl Send for PrePoolFilter
impl Sync for PrePoolFilter
impl Unpin for PrePoolFilter
impl UnsafeUnpin for PrePoolFilter
impl UnwindSafe for PrePoolFilter
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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