[−][src]Struct aeron_rs::buffer_builder::BufferBuilder
This type must not impl Copy! Only move semantics is allowed. BufferBuilder owns memory (allocates / deallocates it)
Implementations
impl BufferBuilder
[src]
pub fn new(initial_length: isize) -> Self
[src]
pub fn buffer(&self) -> *mut u8
[src]
pub fn limit(&self) -> Index
[src]
pub fn set_limit(&mut self, limit: Index) -> Result<(), AeronError>
[src]
pub fn reset(&mut self) -> &mut BufferBuilder
[src]
pub fn append(
&mut self,
buffer: &AtomicBuffer,
offset: Index,
length: Index,
_header: &Header
) -> Result<&BufferBuilder, AeronError>
[src]
&mut self,
buffer: &AtomicBuffer,
offset: Index,
length: Index,
_header: &Header
) -> Result<&BufferBuilder, AeronError>
Trait Implementations
impl Drop for BufferBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for BufferBuilder
impl !Send for BufferBuilder
impl !Sync for BufferBuilder
impl Unpin for BufferBuilder
impl UnwindSafe for BufferBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,