Enum capnp::private::layout::CapTableBuilder [] [src]

pub enum CapTableBuilder {
    Dummy,
    Plain(*mut Vec<Option<Box<ClientHook>>>),
}

Variants

Dummy
Plain

Methods

impl CapTableBuilder

fn as_reader(self) -> CapTableReader

fn extract_cap(&self, index: usize) -> Option<Box<ClientHook>>

fn inject_cap(&mut self, cap: Box<ClientHook>) -> usize

fn drop_cap(&mut self, index: usize)

Trait Implementations

Derived Implementations

impl Clone for CapTableBuilder

fn clone(&self) -> CapTableBuilder

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

impl Copy for CapTableBuilder