pub struct ContainerState {
pub pending_exec: Option<ContainerExecRequest>,
pub pending_logs: Option<ContainerLogsRequest>,
pub pending_actions: VecDeque<ContainerActionRequest>,
pub pending_fetch_aliases: Vec<String>,
pub cache: HashMap<String, ContainerCacheEntry>,
}Expand description
Always-present container-domain state: cache and cross-host pending operations.
Separate from ContainerSession, which is the per-host overlay session state.
Fields§
§pending_exec: Option<ContainerExecRequest>§pending_logs: Option<ContainerLogsRequest>§pending_actions: VecDeque<ContainerActionRequest>§pending_fetch_aliases: Vec<String>§cache: HashMap<String, ContainerCacheEntry>Trait Implementations§
Source§impl Debug for ContainerState
impl Debug for ContainerState
Source§impl Default for ContainerState
impl Default for ContainerState
Source§fn default() -> ContainerState
fn default() -> ContainerState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ContainerState
impl RefUnwindSafe for ContainerState
impl Send for ContainerState
impl Sync for ContainerState
impl Unpin for ContainerState
impl UnsafeUnpin for ContainerState
impl UnwindSafe for ContainerState
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more