pub enum BlockCause {
FenceHeld {
directory: PathBuf,
owner: Option<FenceOwner>,
},
FenceOwnerUnreadable {
directory: PathBuf,
detail: String,
},
DrainRequested {
root: PathBuf,
},
FenceUnusable {
detail: String,
},
AllocationLockBusy {
path: PathBuf,
},
}Expand description
What refused an allocation, as the daemon saw it.
Variants§
FenceHeld
The WSL launch fence exists and was not reclaimed.
FenceOwnerUnreadable
The fence’s owner record exists and cannot be read, so it can never be judged, let alone reclaimed.
DrainRequested
Windows asked the distribution to drain for WSL recovery.
FenceUnusable
The recovery configuration could not be used.
AllocationLockBusy
Another process kept the host-wide allocation lock.
Implementations§
Source§impl BlockCause
impl BlockCause
Sourcepub fn blocked_since(
&self,
since: DateTime<Utc>,
viewpoint: Viewpoint<'_>,
) -> LaunchesBlocked
pub fn blocked_since( &self, since: DateTime<Utc>, viewpoint: Viewpoint<'_>, ) -> LaunchesBlocked
The operator-facing reason and remedy, refused since since.
Trait Implementations§
Source§impl Clone for BlockCause
impl Clone for BlockCause
Source§impl Debug for BlockCause
impl Debug for BlockCause
impl Eq for BlockCause
Source§impl PartialEq for BlockCause
impl PartialEq for BlockCause
impl StructuralPartialEq for BlockCause
Auto Trait Implementations§
impl Forget for BlockCause
impl Freeze for BlockCause
impl RefUnwindSafe for BlockCause
impl Send for BlockCause
impl Sync for BlockCause
impl Unpin for BlockCause
impl UnsafeUnpin for BlockCause
impl UnwindSafe for BlockCause
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