pub struct File<T> { /* private fields */ }
Expand description
Handle to a DebugFS file, owning its backing data.
When dropped, the DebugFS file will be removed and the attached data will be dropped.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for File<T>where
T: Freeze,
impl<T> !RefUnwindSafe for File<T>
impl<T> Send for File<T>where
T: Send,
impl<T> Sync for File<T>where
T: Sync,
impl<T> !UnwindSafe for File<T>
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
Source§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
Source§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot
. Read more