pub enum TicketPlanError {
Existing(TicketV1),
CapExceeded {
per_ref: bool,
},
Corrupt(StoreError),
Invalid(&'static str),
}Expand description
Open planning leaves output vectors untouched on every error.
Variants§
Existing(TicketV1)
Idempotent re-creation returns the still-live ticket.
CapExceeded
Ref cap if true; otherwise signer cap.
Corrupt(StoreError)
Invalid stored data.
Invalid(&'static str)
Invalid caller input.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TicketPlanError
impl !UnwindSafe for TicketPlanError
impl Freeze for TicketPlanError
impl Send for TicketPlanError
impl Sync for TicketPlanError
impl Unpin for TicketPlanError
impl UnsafeUnpin for TicketPlanError
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