pub enum TargetRejection {
HistoryAbsent,
HistoryDuplicate,
MalformedPayload,
DifferentOpen,
MessageOutOfLayout,
FailedResult,
NotOpenPayload,
}Variants§
HistoryAbsent
HistoryDuplicate
MalformedPayload
DifferentOpen
MessageOutOfLayout
FailedResult
NotOpenPayload
Implementations§
Trait Implementations§
Source§impl Clone for TargetRejection
impl Clone for TargetRejection
impl Copy for TargetRejection
Source§impl Debug for TargetRejection
impl Debug for TargetRejection
Source§impl Display for TargetRejection
impl Display for TargetRejection
impl Eq for TargetRejection
Source§impl Error for TargetRejection
impl Error for TargetRejection
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 TargetRejection
impl PartialEq for TargetRejection
impl StructuralPartialEq for TargetRejection
Auto Trait Implementations§
impl Freeze for TargetRejection
impl RefUnwindSafe for TargetRejection
impl Send for TargetRejection
impl Sync for TargetRejection
impl Unpin for TargetRejection
impl UnsafeUnpin for TargetRejection
impl UnwindSafe for TargetRejection
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