pub enum LeaseDisposition {
Granted {
budget_ms: NonZeroU32,
valid_until_ms: u64,
},
Refused,
}Variants§
Trait Implementations§
Source§impl Clone for LeaseDisposition
impl Clone for LeaseDisposition
Source§impl Debug for LeaseDisposition
impl Debug for LeaseDisposition
Source§impl<'de> Deserialize<'de> for LeaseDisposition
impl<'de> Deserialize<'de> for LeaseDisposition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for LeaseDisposition
impl Freeze for LeaseDisposition
impl Move for LeaseDisposition
impl RefUnwindSafe for LeaseDisposition
impl Send for LeaseDisposition
impl Sync for LeaseDisposition
impl Unpin for LeaseDisposition
impl UnsafeUnpin for LeaseDisposition
impl UnwindSafe for LeaseDisposition
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