pub trait Guard {
type ResourceState;
type RunningGuard: RunningGuard;
// Required method
fn start(self) -> (Self::ResourceState, Self::RunningGuard);
}pub trait Guard {
type ResourceState;
type RunningGuard: RunningGuard;
// Required method
fn start(self) -> (Self::ResourceState, Self::RunningGuard);
}