Skip to main content

Pecl

Struct Pecl 

Source
pub struct Pecl;
Expand description

pecl - PHP extension manager

Trait Implementations§

Source§

impl Categorizable for Pecl

Source§

impl Find for Pecl

Source§

type Output = PmInfo

Discovery result type.
Source§

fn name(&self) -> &'static str

Package manager name.
Source§

fn search_paths(&self) -> &'static [&'static str]

Additional search paths outside PATH. Only include tool-specific directories, not standard bins.
Source§

fn find(&self) -> Vec<PmInfo>

Find all instances (PATH-first, deduplicated).
Source§

fn check_bump(&self, pm_info: &PmInfo) -> Option<Bump>

Check if a version bump is available. Returns Some(Bump) if outdated, None if up-to-date or unknown.

Auto Trait Implementations§

§

impl Freeze for Pecl

§

impl RefUnwindSafe for Pecl

§

impl Send for Pecl

§

impl Sync for Pecl

§

impl Unpin for Pecl

§

impl UnsafeUnpin for Pecl

§

impl UnwindSafe for Pecl

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> Detector for T
where T: Find<Output = PmInfo> + Categorizable + Send + Sync,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.