struct DBSetting<T> {
database: SystemDatabase,
name: &'static str,
_marker: PhantomData<T>,
}Expand description
Stores a single setting in the Setting table, keyed by name, as the bare serialized value.
Fields§
§database: SystemDatabase§name: &'static str§_marker: PhantomData<T>Auto Trait Implementations§
impl<T> !RefUnwindSafe for DBSetting<T>
impl<T> !UnwindSafe for DBSetting<T>
impl<T> Freeze for DBSetting<T>where
PhantomData<T>: Freeze,
impl<T> Send for DBSetting<T>where
PhantomData<T>: Send,
impl<T> Sync for DBSetting<T>where
PhantomData<T>: Sync,
impl<T> Unpin for DBSetting<T>where
PhantomData<T>: Unpin,
impl<T> UnsafeUnpin for DBSetting<T>where
PhantomData<T>: UnsafeUnpin,
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
Consume a handle, getting back the initial
Arc<> Read more