pub struct ScopedSubmitRejected<'env> { /* private fields */ }Expand description
A pre-admission scoped submission rejection. The original borrows remain available.
Implementations§
Source§impl<'env> ScopedSubmitRejected<'env>
impl<'env> ScopedSubmitRejected<'env>
Sourcepub fn into_parts(self) -> (Error, ScopedReadInputs<'env>)
pub fn into_parts(self) -> (Error, ScopedReadInputs<'env>)
Consume the rejection and preserve its original environment lifetime.
Trait Implementations§
Source§impl<'env> Debug for ScopedSubmitRejected<'env>
impl<'env> Debug for ScopedSubmitRejected<'env>
Source§impl Display for ScopedSubmitRejected<'_>
impl Display for ScopedSubmitRejected<'_>
Source§impl Error for ScopedSubmitRejected<'_>
impl Error for ScopedSubmitRejected<'_>
Source§fn source(&self) -> Option<&(dyn StdError + 'static)>
fn source(&self) -> Option<&(dyn StdError + '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()
Auto Trait Implementations§
impl<'env> !RefUnwindSafe for ScopedSubmitRejected<'env>
impl<'env> !UnwindSafe for ScopedSubmitRejected<'env>
impl<'env> Freeze for ScopedSubmitRejected<'env>
impl<'env> Send for ScopedSubmitRejected<'env>
impl<'env> Sync for ScopedSubmitRejected<'env>
impl<'env> Unpin for ScopedSubmitRejected<'env>
impl<'env> UnsafeUnpin for ScopedSubmitRejected<'env>
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> 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