pub enum TargetStateCaptureError {
Empty,
DuplicateRequest(usize),
Unrequested(usize),
DuplicateCapture(usize),
Missing(usize),
}Expand description
Invalid target-state capture lifecycle.
Variants§
Empty
At least one state tap must be requested.
DuplicateRequest(usize)
One layer was requested more than once.
Unrequested(usize)
A block emitted a state that was not requested.
DuplicateCapture(usize)
A requested state was captured more than once.
Missing(usize)
A requested block never emitted its output.
Trait Implementations§
Source§impl Clone for TargetStateCaptureError
impl Clone for TargetStateCaptureError
Source§fn clone(&self) -> TargetStateCaptureError
fn clone(&self) -> TargetStateCaptureError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TargetStateCaptureError
impl Debug for TargetStateCaptureError
Source§impl Display for TargetStateCaptureError
impl Display for TargetStateCaptureError
impl Eq for TargetStateCaptureError
Source§impl Error for TargetStateCaptureError
impl Error for TargetStateCaptureError
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 PartialEq for TargetStateCaptureError
impl PartialEq for TargetStateCaptureError
impl StructuralPartialEq for TargetStateCaptureError
Auto Trait Implementations§
impl Freeze for TargetStateCaptureError
impl RefUnwindSafe for TargetStateCaptureError
impl Send for TargetStateCaptureError
impl Sync for TargetStateCaptureError
impl Unpin for TargetStateCaptureError
impl UnsafeUnpin for TargetStateCaptureError
impl UnwindSafe for TargetStateCaptureError
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