Enum postgresfixture::cluster::ClusterError
source · pub enum ClusterError {
PathEncodingError,
IoError(Error),
UnixError(Error),
UnsupportedVersion(Version),
UnknownVersion(VersionError),
RuntimeNotFound(PartialVersion),
RuntimeDefaultNotFound,
DataDirectoryNotFound(PathBuf),
DatabaseError(Error),
InUse,
Other(Output),
}
Variants§
PathEncodingError
IoError(Error)
UnixError(Error)
UnsupportedVersion(Version)
UnknownVersion(VersionError)
RuntimeNotFound(PartialVersion)
RuntimeDefaultNotFound
DataDirectoryNotFound(PathBuf)
DatabaseError(Error)
InUse
Other(Output)
Trait Implementations§
source§impl Debug for ClusterError
impl Debug for ClusterError
source§impl Display for ClusterError
impl Display for ClusterError
source§impl Error for ClusterError
impl Error for ClusterError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 ClusterError
impl From<Errno> for ClusterError
source§fn from(error: Error) -> ClusterError
fn from(error: Error) -> ClusterError
Converts to this type from the input type.
source§impl From<Error> for ClusterError
impl From<Error> for ClusterError
source§fn from(error: Error) -> ClusterError
fn from(error: Error) -> ClusterError
Converts to this type from the input type.
source§impl From<Error> for ClusterError
impl From<Error> for ClusterError
source§fn from(error: Error) -> ClusterError
fn from(error: Error) -> ClusterError
Converts to this type from the input type.
source§impl From<RuntimeError> for ClusterError
impl From<RuntimeError> for ClusterError
source§fn from(error: RuntimeError) -> ClusterError
fn from(error: RuntimeError) -> ClusterError
Converts to this type from the input type.
source§impl From<VersionError> for ClusterError
impl From<VersionError> for ClusterError
source§fn from(error: VersionError) -> ClusterError
fn from(error: VersionError) -> ClusterError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ClusterError
impl Send for ClusterError
impl Sync for ClusterError
impl Unpin for ClusterError
impl !UnwindSafe for ClusterError
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