struct ImdsState {
issued: Vec<(String, OffsetDateTime)>,
reads: u64,
fail_next: u32,
}Fields§
§issued: Vec<(String, OffsetDateTime)>Every access key id issued, with the moment it stops being accepted.
reads: u64§fail_next: u32Answers this many reads with an error before issuing again.
Auto Trait Implementations§
impl Freeze for ImdsState
impl RefUnwindSafe for ImdsState
impl Send for ImdsState
impl Sync for ImdsState
impl Unpin for ImdsState
impl UnsafeUnpin for ImdsState
impl UnwindSafe for ImdsState
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