Struct bcc::table::Table
[−]
[src]
pub struct Table { /* fields omitted */ }
Methods
impl Table
[src]
pub fn new(id: usize, p: *mut c_void) -> Table
[src]
pub fn key_size(&mut self) -> usize
[src]
pub fn fd(&mut self) -> c_int
[src]
pub fn leaf_size(&mut self) -> usize
[src]
pub fn name(&mut self) -> String
[src]
pub fn delete(&mut self, key: &mut [u8]) -> Result<(), Error>
[src]
pub fn delete_all(&mut self) -> Result<(), Error>
[src]
pub fn get(&mut self, key: &mut [u8]) -> Result<Vec<u8>, Error>
[src]
pub fn set(&mut self, key: &mut [u8], leaf: &mut [u8]) -> Result<(), Error>
[src]
ⓘImportant traits for EntryIterpub fn iter(&self) -> EntryIter
[src]
ⓘImportant traits for EntryIter
Trait Implementations
impl Clone for Table
[src]
fn clone(&self) -> Table
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Table
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl IntoIterator for Table
[src]
type Item = Entry
The type of the elements being iterated over.
type IntoIter = EntryIter
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
Creates an iterator from a value. Read more