Enum rust_corosync::CsError
source · #[repr(u32)]
pub enum CsError {
Show 32 variants
CsOk,
CsErrLibrary,
CsErrVersion,
CsErrInit,
CsErrTimeout,
CsErrTryAgain,
CsErrInvalidParam,
CsErrNoMemory,
CsErrBadHandle,
CsErrBusy,
CsErrAccess,
CsErrNotExist,
CsErrNameTooLong,
CsErrExist,
CsErrNoSpace,
CsErrInterrupt,
CsErrNameNotFound,
CsErrNoResources,
CsErrNotSupported,
CsErrBadOperation,
CsErrFailedOperation,
CsErrMessageError,
CsErrQueueFull,
CsErrQueueNotAvailable,
CsErrBadFlags,
CsErrTooBig,
CsErrNoSection,
CsErrContextNotFound,
CsErrTooManyGroups,
CsErrSecurity,
CsErrRustCompat,
CsErrRustString,
}
Expand description
Error codes returned from the corosync libraries
Variants§
CsOk
CsErrLibrary
CsErrVersion
CsErrInit
CsErrTimeout
CsErrTryAgain
CsErrInvalidParam
CsErrNoMemory
CsErrBadHandle
CsErrBusy
CsErrAccess
CsErrNotExist
CsErrNameTooLong
CsErrExist
CsErrNoSpace
CsErrInterrupt
CsErrNameNotFound
CsErrNoResources
CsErrNotSupported
CsErrBadOperation
CsErrFailedOperation
CsErrMessageError
CsErrQueueFull
CsErrQueueNotAvailable
CsErrBadFlags
CsErrTooBig
CsErrNoSection
CsErrContextNotFound
CsErrTooManyGroups
CsErrSecurity
CsErrRustCompat
CsErrRustString
Trait Implementations§
source§impl Error for CsError
impl Error for CsError
1.30.0 · 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 PartialEq<CsError> for CsError
impl PartialEq<CsError> for CsError
source§impl TryFrom<u32> for CsError
impl TryFrom<u32> for CsError
§type Error = TryFromPrimitiveError<CsError>
type Error = TryFromPrimitiveError<CsError>
The type returned in the event of a conversion error.