[][src]Struct relox::Elf32Relocs

pub struct Elf32Relocs<'a> { /* fields omitted */ }

Representation of a regular ELF32 relocation section.

Methods

impl<'a> Elf32Relocs<'a>[src]

pub fn new(data: &'a [u8]) -> Self[src]

Creates a new Elf32Relocs instance.

pub fn compress(&mut self, output: &mut [u8]) -> Result<usize, Error>[src]

Compresses this regular ELF32 relocation section and writes the compressed data to the provided in-memory buffer. Returns the number of bytes written if the compression is successful.

Auto Trait Implementations

impl<'a> RefUnwindSafe for Elf32Relocs<'a>

impl<'a> Send for Elf32Relocs<'a>

impl<'a> Sync for Elf32Relocs<'a>

impl<'a> Unpin for Elf32Relocs<'a>

impl<'a> UnwindSafe for Elf32Relocs<'a>

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.