pub struct Sealed;Expand description
Document is sealed and fully immutable.
In this state:
- Same as Queryable, but guarantees no mutations ever
- Enables potential future optimizations (e.g., shared memory)
- Cannot transition to any other state
Trait Implementations§
impl Copy for Sealed
impl DocumentState for Sealed
impl QueryableState for Sealed
Auto Trait Implementations§
impl Freeze for Sealed
impl RefUnwindSafe for Sealed
impl Send for Sealed
impl Sync for Sealed
impl Unpin for Sealed
impl UnwindSafe for Sealed
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