#[non_exhaustive]pub enum WriteKind {
Created,
Updated,
}Expand description
Whether a write created a new world or updated an existing one.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Created
Path did not exist before this write.
Updated
Path already existed; this write replaced or appended.
Auto Trait Implementations§
impl Freeze for WriteKind
impl RefUnwindSafe for WriteKind
impl Send for WriteKind
impl Sync for WriteKind
impl Unpin for WriteKind
impl UnsafeUnpin for WriteKind
impl UnwindSafe for WriteKind
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