pub enum RotateState {
PendingFlush,
PendingRename(Pin<Box<dyn Future<Output = Result<()>>>>),
PendingCreate(Pin<Box<dyn Future<Output = Result<File>>>>),
Done,
}
Variants§
PendingFlush
PendingRename(Pin<Box<dyn Future<Output = Result<()>>>>)
PendingCreate(Pin<Box<dyn Future<Output = Result<File>>>>)
Done
Auto Trait Implementations§
impl Freeze for RotateState
impl !RefUnwindSafe for RotateState
impl !Send for RotateState
impl !Sync for RotateState
impl Unpin for RotateState
impl !UnwindSafe for RotateState
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