[][src]Struct ckb_std::dynamic_loading::Library

pub struct Library { /* fields omitted */ }

Dynamic loaded library

Methods

impl Library[src]

pub fn consumed_size(&self) -> usize[src]

Library consumed size

pub unsafe fn get<S>(&self, symbol: &[u8]) -> Option<Symbol<S>>[src]

Unsafe

Undefined behavior will happen if the type S not match the type of symbol in the shared library

Return None if not found the symbol

Auto Trait Implementations

impl !Send for Library

impl !Sync for Library

impl Unpin for Library

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.