pub enum NamedSemaphoreCreationError {
InsufficientPermissions,
InitialValueTooLarge,
PerProcessFileHandleLimitReached,
SystemWideFileHandleLimitReached,
AlreadyExists,
MaxFilePathLengthExceeded,
Interrupt,
NotSupportForGivenName,
DoesNotExist,
NoSpaceLeft,
UnknownError(i32),
}Variants§
InsufficientPermissions
InitialValueTooLarge
PerProcessFileHandleLimitReached
SystemWideFileHandleLimitReached
AlreadyExists
MaxFilePathLengthExceeded
Interrupt
NotSupportForGivenName
DoesNotExist
NoSpaceLeft
UnknownError(i32)
Trait Implementations§
Source§impl Clone for NamedSemaphoreCreationError
impl Clone for NamedSemaphoreCreationError
Source§fn clone(&self) -> NamedSemaphoreCreationError
fn clone(&self) -> NamedSemaphoreCreationError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NamedSemaphoreCreationError
impl Debug for NamedSemaphoreCreationError
Source§impl From<NamedSemaphoreCreationError> for SemaphoreError
impl From<NamedSemaphoreCreationError> for SemaphoreError
Source§fn from(_: NamedSemaphoreCreationError) -> SemaphoreError
fn from(_: NamedSemaphoreCreationError) -> SemaphoreError
Converts to this type from the input type.
Source§impl Hash for NamedSemaphoreCreationError
impl Hash for NamedSemaphoreCreationError
impl Copy for NamedSemaphoreCreationError
impl Eq for NamedSemaphoreCreationError
impl StructuralPartialEq for NamedSemaphoreCreationError
Auto Trait Implementations§
impl Freeze for NamedSemaphoreCreationError
impl RefUnwindSafe for NamedSemaphoreCreationError
impl Send for NamedSemaphoreCreationError
impl Sync for NamedSemaphoreCreationError
impl Unpin for NamedSemaphoreCreationError
impl UnwindSafe for NamedSemaphoreCreationError
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