pub enum Extension {
Static(LitStr),
Column(ColumnExtension),
}Expand description
HOW this artifact family’s addresses end.
Option<Extension> is the whole vocabulary: None is the omitted form — extensionless
storage, the zero-tax road a heterogeneous family takes, where a per-entry type travels as
metadata or as the host channel’s Content-Type instead.
Variants§
Static(LitStr)
extension = "png" — ONE suffix for the whole family, known at the type.
The only form a by-key get can resolve on its own, which is why it is also the only one the
shipped BlobRecord::extension() seat can carry: that seat is TYPE-LEVEL, deliberately, because
a read by key has no record instance to ask.
Column(ColumnExtension)
The block form — a suffix decided per entry, off a column.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Send for Extension
impl !Sync for Extension
impl Freeze for Extension
impl RefUnwindSafe for Extension
impl Unpin for Extension
impl UnsafeUnpin for Extension
impl UnwindSafe for Extension
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