[][src]Enum findshlibs::SharedLibraryId

pub enum SharedLibraryId {
    Uuid([u8; 16]),
    GnuBuildId(Vec<u8>),
}

Represents an ID for a shared library.

Variants

Uuid([u8; 16])

A UUID (used on mac)

GnuBuildId(Vec<u8>)

A GNU build ID

Methods

impl SharedLibraryId[src]

pub fn as_bytes(&self) -> &[u8][src]

Returns the raw bytes of the shared library ID.

Trait Implementations

impl Eq for SharedLibraryId[src]

impl PartialEq<SharedLibraryId> for SharedLibraryId[src]

impl Debug for SharedLibraryId[src]

impl Display for SharedLibraryId[src]

impl Hash for SharedLibraryId[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]