pub enum PosetError {
NoMaxima,
NoMinima,
}
Expand description
Represents errors that can occur while manipulating posets, such as when the partial order is not a valid partial order.
Variants§
NoMaxima
Indicates that the poset has no maxima, when it should.
NoMinima
Indicates that the poset has no minima, when it should.
Trait Implementations§
Source§impl Debug for PosetError
impl Debug for PosetError
Source§impl Display for PosetError
impl Display for PosetError
Source§impl PartialEq for PosetError
impl PartialEq for PosetError
impl Eq for PosetError
impl StructuralPartialEq for PosetError
Auto Trait Implementations§
impl Freeze for PosetError
impl RefUnwindSafe for PosetError
impl Send for PosetError
impl Sync for PosetError
impl Unpin for PosetError
impl UnwindSafe for PosetError
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