pub struct Platform { /* private fields */ }Expand description
Opt-in filesystem seam for cross-platform compatibility.
NOTE: This is an opt-in fs seam only; most code paths use std/tokio
fs directly — this is NOT an enforced I/O boundary. The Platform handle is
threaded through many call sites, but only Platform::fs is ever read.
Full removal of that threading is a possible later refactor (out of scope).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Platform
impl RefUnwindSafe for Platform
impl Send for Platform
impl Sync for Platform
impl Unpin for Platform
impl UnsafeUnpin for Platform
impl UnwindSafe for Platform
Blanket Implementations§
impl<T> Allocation for T
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