pub struct InconsistentResource {
pub resource: TrackedResource,
pub consumed_in_else: bool,
}Expand description
A resource handled differently in different branches
Fields§
§resource: TrackedResource§consumed_in_else: boolTrue if consumed in else branch but not then branch
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InconsistentResource
impl RefUnwindSafe for InconsistentResource
impl Send for InconsistentResource
impl Sync for InconsistentResource
impl Unpin for InconsistentResource
impl UnwindSafe for InconsistentResource
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