pub enum ConfigInitSource<'s> {
LocalFileSystem(PathBuf),
PreCompiled(&'s [u8]),
}
Expand description
Selects the source from where the initialization schemes [StaticSchemes] are loaded.
See load_context
.
Variants§
LocalFileSystem(PathBuf)
Load from file on the local file system.
PreCompiled(&'s [u8])
Load from the serialized data.
Auto Trait Implementations§
impl<'s> Freeze for ConfigInitSource<'s>
impl<'s> RefUnwindSafe for ConfigInitSource<'s>
impl<'s> Send for ConfigInitSource<'s>
impl<'s> Sync for ConfigInitSource<'s>
impl<'s> Unpin for ConfigInitSource<'s>
impl<'s> UnwindSafe for ConfigInitSource<'s>
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