pub struct OwnedFiles { /* private fields */ }Expand description
The files of a layer handed in at run time (Layer::owned), with
checked paths, kept for the life of the program so every read of them
is &'static. With std a file can be replaced (Layer::replace);
its old bytes stay, so what was read of them stays valid.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for OwnedFiles
impl RefUnwindSafe for OwnedFiles
impl Send for OwnedFiles
impl Sync for OwnedFiles
impl Unpin for OwnedFiles
impl UnsafeUnpin for OwnedFiles
impl UnwindSafe for OwnedFiles
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