pub struct Builder<'a> { /* private fields */ }Implementations§
Source§impl<'a> Builder<'a>
impl<'a> Builder<'a>
pub fn into_reader(self) -> Reader<'a>
pub fn reborrow(&mut self) -> Builder<'_>
pub fn reborrow_as_reader(&self) -> Reader<'_>
pub fn total_size(&self) -> Result<MessageSize, Error>
pub fn get_query_id(self) -> Result<Builder<'a>, Error>
pub fn set_query_id(&mut self, value: Reader<'_>) -> Result<(), Error>
pub fn init_query_id(self) -> Builder<'a>
pub fn has_query_id(&self) -> bool
pub fn get_agent_id(self) -> Result<Builder<'a>, Error>
pub fn set_agent_id(&mut self, value: impl SetterInput<Owned>)
pub fn init_agent_id(self, size: u32) -> Builder<'a>
pub fn has_agent_id(&self) -> bool
pub fn get_response(self) -> Result<Builder<'a>, Error>
pub fn set_response(&mut self, value: impl SetterInput<Owned>)
pub fn init_response(self, size: u32) -> Builder<'a>
pub fn has_response(&self) -> bool
pub fn get_signature(self) -> Result<&'a mut [u8], Error>
pub fn set_signature(&mut self, value: &[u8])
pub fn init_signature(self, size: u32) -> &'a mut [u8] ⓘ
pub fn has_signature(&self) -> bool
pub fn get_confidence(self) -> f32
pub fn set_confidence(&mut self, value: f32)
Trait Implementations§
Source§impl<'a> From<StructBuilder<'a>> for Builder<'a>
impl<'a> From<StructBuilder<'a>> for Builder<'a>
Source§fn from(builder: StructBuilder<'a>) -> Builder<'a>
fn from(builder: StructBuilder<'a>) -> Builder<'a>
Converts to this type from the input type.
Source§impl<'a> FromPointerBuilder<'a> for Builder<'a>
impl<'a> FromPointerBuilder<'a> for Builder<'a>
fn init_pointer(builder: PointerBuilder<'a>, _size: u32) -> Builder<'a>
fn get_from_pointer( builder: PointerBuilder<'a>, default: Option<&'a [Word]>, ) -> Result<Builder<'a>, Error>
Source§impl HasStructSize for Builder<'_>
impl HasStructSize for Builder<'_>
const STRUCT_SIZE: StructSize
Auto Trait Implementations§
impl<'a> Freeze for Builder<'a>
impl<'a> !RefUnwindSafe for Builder<'a>
impl<'a> !Send for Builder<'a>
impl<'a> !Sync for Builder<'a>
impl<'a> Unpin for Builder<'a>
impl<'a> !UnwindSafe for Builder<'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