pub struct WriteFileOptions<C> {
pub path: String,
pub content: C,
pub cancellation: CancellationToken,
}Expand description
Options for writing a file; C is the payload type.
Fields§
§path: StringPath inside the sandbox.
content: CContent to write.
cancellation: CancellationTokenCancels the write.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<C> Freeze for WriteFileOptions<C>where
C: Freeze,
impl<C> RefUnwindSafe for WriteFileOptions<C>where
C: RefUnwindSafe,
impl<C> Send for WriteFileOptions<C>where
C: Send,
impl<C> Sync for WriteFileOptions<C>where
C: Sync,
impl<C> Unpin for WriteFileOptions<C>where
C: Unpin,
impl<C> UnsafeUnpin for WriteFileOptions<C>where
C: UnsafeUnpin,
impl<C> UnwindSafe for WriteFileOptions<C>where
C: UnwindSafe,
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