#[repr(u32)]pub enum CsError {
Show 32 variants
CsOk = 1,
CsErrLibrary = 2,
CsErrVersion = 3,
CsErrInit = 4,
CsErrTimeout = 5,
CsErrTryAgain = 6,
CsErrInvalidParam = 7,
CsErrNoMemory = 8,
CsErrBadHandle = 9,
CsErrBusy = 10,
CsErrAccess = 11,
CsErrNotExist = 12,
CsErrNameTooLong = 13,
CsErrExist = 14,
CsErrNoSpace = 15,
CsErrInterrupt = 16,
CsErrNameNotFound = 17,
CsErrNoResources = 18,
CsErrNotSupported = 19,
CsErrBadOperation = 20,
CsErrFailedOperation = 21,
CsErrMessageError = 22,
CsErrQueueFull = 23,
CsErrQueueNotAvailable = 24,
CsErrBadFlags = 25,
CsErrTooBig = 26,
CsErrNoSection = 27,
CsErrContextNotFound = 28,
CsErrTooManyGroups = 30,
CsErrSecurity = 100,
CsErrRustCompat = 998,
CsErrRustString = 999,
}
Expand description
Error codes returned from the corosync libraries
Variants§
CsOk = 1
CsErrLibrary = 2
CsErrVersion = 3
CsErrInit = 4
CsErrTimeout = 5
CsErrTryAgain = 6
CsErrInvalidParam = 7
CsErrNoMemory = 8
CsErrBadHandle = 9
CsErrBusy = 10
CsErrAccess = 11
CsErrNotExist = 12
CsErrNameTooLong = 13
CsErrExist = 14
CsErrNoSpace = 15
CsErrInterrupt = 16
CsErrNameNotFound = 17
CsErrNoResources = 18
CsErrNotSupported = 19
CsErrBadOperation = 20
CsErrFailedOperation = 21
CsErrMessageError = 22
CsErrQueueFull = 23
CsErrQueueNotAvailable = 24
CsErrBadFlags = 25
CsErrTooBig = 26
CsErrNoSection = 27
CsErrContextNotFound = 28
CsErrTooManyGroups = 30
CsErrSecurity = 100
CsErrRustCompat = 998
CsErrRustString = 999
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)>
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 TryFromPrimitive for CsError
impl TryFromPrimitive for CsError
impl Copy for CsError
impl Eq for CsError
impl StructuralPartialEq for CsError
Auto Trait Implementations§
impl Freeze for CsError
impl RefUnwindSafe for CsError
impl Send for CsError
impl Sync for CsError
impl Unpin for CsError
impl UnwindSafe for CsError
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