pub enum Declined {
Changed,
TooLong,
}Expand description
Why an app declined an action, for the reasons a person is told rather than logged: the window says what happened and what to do, from the toolkit’s catalogue.
Variants§
Changed
What the action would change is not as it read it: a newer edit reached the text first.
TooLong
The text the action carries is longer than one text may hold
(MAX_TEXT_BYTES).
Implementations§
Trait Implementations§
impl Copy for Declined
impl Eq for Declined
impl StructuralPartialEq for Declined
Auto Trait Implementations§
impl Forget for Declined
impl Freeze for Declined
impl Move for Declined
impl RefUnwindSafe for Declined
impl Send for Declined
impl Sync for Declined
impl Unpin for Declined
impl UnsafeUnpin for Declined
impl UnwindSafe for Declined
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more