pub enum BufferInitContent<'a> {
Data(&'a [u8]),
Size(u64),
}Variants§
Data(&'a [u8])
The buffer will be initialized with the given data
Size(u64)
The buffer will be initialized with the given size
Auto Trait Implementations§
impl<'a> Freeze for BufferInitContent<'a>
impl<'a> RefUnwindSafe for BufferInitContent<'a>
impl<'a> Send for BufferInitContent<'a>
impl<'a> Sync for BufferInitContent<'a>
impl<'a> Unpin for BufferInitContent<'a>
impl<'a> UnsafeUnpin for BufferInitContent<'a>
impl<'a> UnwindSafe for BufferInitContent<'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