[][src]Struct measureme::stringtable::StringTableBuilder

pub struct StringTableBuilder<S: SerializationSink> { /* fields omitted */ }

Write-only version of the string table

Methods

impl<S: SerializationSink> StringTableBuilder<S>[src]

pub fn new(data_sink: Arc<S>, index_sink: Arc<S>) -> StringTableBuilder<S>[src]

pub fn alloc_with_reserved_id<STR: SerializableString + ?Sized>(
    &self,
    id: StringId,
    s: &STR
) -> StringId
[src]

pub fn alloc<STR: SerializableString + ?Sized>(&self, s: &STR) -> StringId[src]

Auto Trait Implementations

impl<S> Send for StringTableBuilder<S>

impl<S> Sync for StringTableBuilder<S>

impl<S> Unpin for StringTableBuilder<S>

impl<S> UnwindSafe for StringTableBuilder<S> where
    S: RefUnwindSafe

impl<S> RefUnwindSafe for StringTableBuilder<S> where
    S: RefUnwindSafe

Blanket Implementations

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 = !

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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