pub enum LayoutHint {
Auto,
ForceInline,
ForceOffset,
}Expand description
Producer-side override for the per-record layout decision.
Variants§
Auto
Inline when it fits the budget, else spill to the region.
ForceInline
Force inline; returns RingError::PayloadTooLarge if the
payload exceeds the inline budget.
ForceOffset
Force the region path even when the payload would fit inline.
Trait Implementations§
Source§impl Clone for LayoutHint
impl Clone for LayoutHint
Source§fn clone(&self) -> LayoutHint
fn clone(&self) -> LayoutHint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LayoutHint
Source§impl Debug for LayoutHint
impl Debug for LayoutHint
Source§impl Default for LayoutHint
impl Default for LayoutHint
Source§fn default() -> LayoutHint
fn default() -> LayoutHint
Returns the “default value” for a type. Read more
impl Eq for LayoutHint
Source§impl PartialEq for LayoutHint
impl PartialEq for LayoutHint
impl StructuralPartialEq for LayoutHint
Auto Trait Implementations§
impl Freeze for LayoutHint
impl RefUnwindSafe for LayoutHint
impl Send for LayoutHint
impl Sync for LayoutHint
impl Unpin for LayoutHint
impl UnsafeUnpin for LayoutHint
impl UnwindSafe for LayoutHint
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