pub struct BindRejected<T> {
pub error: BindingError,
/* private fields */
}Expand description
A rejected bind that returns the consumed active mapping to its caller.
The bind boundary consumes the active mapping by value; on rejection this carrier hands the exact same value back so the caller recovers it instead of losing the committed mapping.
Fields§
§error: BindingErrorReason the validated layout could not bind to this mapping.
Implementations§
Source§impl<T> BindRejected<T>
impl<T> BindRejected<T>
Sourcepub fn into_inner(self) -> T
pub fn into_inner(self) -> T
Recovers the consumed active mapping unchanged.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for BindRejected<T>where
T: Freeze,
impl<T> RefUnwindSafe for BindRejected<T>where
T: RefUnwindSafe,
impl<T> Send for BindRejected<T>where
T: Send,
impl<T> Sync for BindRejected<T>where
T: Sync,
impl<T> Unpin for BindRejected<T>where
T: Unpin,
impl<T> UnsafeUnpin for BindRejected<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for BindRejected<T>where
T: UnwindSafe,
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