pub enum ContainerError {
DockerApi(String),
IsolationFailed {
container_id: String,
reason: String,
},
PolicyViolation(String),
NotFound(String),
}Expand description
컨테이너 관련 에러
Variants§
DockerApi(String)
Docker API 호출 실패
IsolationFailed
컨테이너 격리 실패
PolicyViolation(String)
정책 위반
NotFound(String)
컨테이너를 찾을 수 없음
Trait Implementations§
Source§impl Debug for ContainerError
impl Debug for ContainerError
Source§impl Display for ContainerError
impl Display for ContainerError
Source§impl Error for ContainerError
impl Error for ContainerError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<ContainerError> for IronpostError
impl From<ContainerError> for IronpostError
Source§fn from(source: ContainerError) -> Self
fn from(source: ContainerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ContainerError
impl RefUnwindSafe for ContainerError
impl Send for ContainerError
impl Sync for ContainerError
impl Unpin for ContainerError
impl UnwindSafe for ContainerError
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