pub enum StartupError {
Setup(Error),
Io(Errno),
InvalidTimeout,
TimedOut,
Refused,
PeerClosed,
Protocol,
MissingResult,
}Expand description
Failure of the finite container startup exchange.
Variants§
Setup(Error)
Container namespace/filesystem/filter setup failed.
Io(Errno)
A startup syscall failed.
InvalidTimeout
The caller supplied a zero or unrepresentable startup timeout.
TimedOut
The single monotonic startup deadline elapsed.
Refused
A callback refused startup.
PeerClosed
The peer closed its endpoint before completing the exchange.
Protocol
A frame, phase, descriptor count or result encoding was invalid.
MissingResult
The child exited before publishing its ordinary result.
Trait Implementations§
Source§impl Clone for StartupError
impl Clone for StartupError
impl Copy for StartupError
Source§impl Debug for StartupError
impl Debug for StartupError
Source§impl<'de> Deserialize<'de> for StartupError
impl<'de> Deserialize<'de> for StartupError
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
Source§impl Display for StartupError
impl Display for StartupError
impl Eq for StartupError
Source§impl Error for StartupError
impl Error for StartupError
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<Errno> for StartupError
impl From<Errno> for StartupError
Source§impl PartialEq for StartupError
impl PartialEq for StartupError
Source§impl Serialize for StartupError
impl Serialize for StartupError
impl StructuralPartialEq for StartupError
Auto Trait Implementations§
impl Freeze for StartupError
impl RefUnwindSafe for StartupError
impl Send for StartupError
impl Sync for StartupError
impl Unpin for StartupError
impl UnsafeUnpin for StartupError
impl UnwindSafe for StartupError
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