[][src]Struct goblin::mach::load_command::SubClientCommand

#[repr(C)]
pub struct SubClientCommand {
    pub cmd: u32,
    pub cmdsize: u32,
    pub client: LcStr,
}

For dynamically linked shared libraries that are subframework of an umbrella framework they can allow clients other than the umbrella framework or other subframeworks in the same umbrella framework. To do this the subframework is built with "-allowable_client client_name" and an LC_SUB_CLIENT load command is created for each -allowable_client flag. The client_name is usually a framework name. It can also be a name used for bundles clients where the bundle is built with "-client_name client_name".

Fields

cmd: u32

LC_SUB_CLIENT

cmdsize: u32

includes client string

client: LcStr

the client name

Trait Implementations

impl Copy for SubClientCommand[src]

impl Clone for SubClientCommand[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for SubClientCommand[src]

impl FromCtx<Endian, [u8]> for SubClientCommand[src]

impl<'a> TryFromCtx<'a, Endian, [u8]> for SubClientCommand where
    SubClientCommand: 'a, 
[src]

type Error = Error

type Size = usize

impl<'a> IntoCtx<Endian, [u8]> for &'a SubClientCommand[src]

impl IntoCtx<Endian, [u8]> for SubClientCommand[src]

impl<'a> TryIntoCtx<Endian, [u8]> for &'a SubClientCommand[src]

type Error = Error

type Size = usize

impl TryIntoCtx<Endian, [u8]> for SubClientCommand[src]

type Error = Error

type Size = usize

impl SizeWith<Endian> for SubClientCommand[src]

type Units = usize

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

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]