pub struct DataSourceBuilder<'a: 'b, 'b, A: Allocator + 'a> { /* private fields */ }Implementations§
Source§impl<'a: 'b, 'b, A: Allocator + 'a> DataSourceBuilder<'a, 'b, A>
impl<'a: 'b, 'b, A: Allocator + 'a> DataSourceBuilder<'a, 'b, A>
pub fn add_provider(&mut self, provider: DataSourceProvider)
pub fn add_endpoint(&mut self, endpoint: WIPOffset<&'b str>)
pub fn add_resource(&mut self, resource: WIPOffset<&'b str>)
pub fn add_method(&mut self, method: HttpMethod)
pub fn add_headers( &mut self, headers: WIPOffset<Vector<'b, ForwardsUOffset<KeyValue<'b>>>>, )
pub fn new( _fbb: &'b mut FlatBufferBuilder<'a, A>, ) -> DataSourceBuilder<'a, 'b, A>
pub fn finish(self) -> WIPOffset<DataSource<'a>>
Auto Trait Implementations§
impl<'a, 'b, A> Freeze for DataSourceBuilder<'a, 'b, A>
impl<'a, 'b, A> RefUnwindSafe for DataSourceBuilder<'a, 'b, A>where
A: RefUnwindSafe,
impl<'a, 'b, A> Send for DataSourceBuilder<'a, 'b, A>where
A: Send,
impl<'a, 'b, A> Sync for DataSourceBuilder<'a, 'b, A>where
A: Sync,
impl<'a, 'b, A> Unpin for DataSourceBuilder<'a, 'b, A>
impl<'a, 'b, A> UnsafeUnpin for DataSourceBuilder<'a, 'b, A>
impl<'a, 'b, A> !UnwindSafe for DataSourceBuilder<'a, 'b, A>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more