pub struct Builder<'a> { /* private fields */ }Expand description
Configures one send header while retaining every installed resource.
Implementations§
Source§impl<'a> Builder<'a>
impl<'a> Builder<'a>
pub fn new(header: &'a mut Header) -> Self
pub fn name(&mut self, addr: &'a Inet)
Sourcepub fn control(&mut self, control: &'a [u8])
pub fn control(&mut self, control: &'a [u8])
Installs ancillary bytes and retains their borrow with the graph.
pub fn finish<T: AsRef<[u8]>>( self, iovecs: &'a mut [Iovec; 1], payload: &'a Value<T>, ) -> Message<'a>
Auto Trait Implementations§
impl<'a> !Send for Builder<'a>
impl<'a> !Sync for Builder<'a>
impl<'a> !UnwindSafe for Builder<'a>
impl<'a> Freeze for Builder<'a>
impl<'a> RefUnwindSafe for Builder<'a>
impl<'a> Unpin for Builder<'a>
impl<'a> UnsafeUnpin 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