pub struct ProxyInputFailure<Role, Worker, Plan>where
Worker: Behavior,
Plan: ActivationPlan,
BehaviorAddr<Worker>: EndpointAddress,
StableProxy<Worker, Plan>: Behavior<Protocol = Worker::Protocol>,{ /* private fields */ }Expand description
Complete replacement input returned by a rejecting StableProxy capability.
Implementations§
Source§impl<Role, Worker, Plan> ProxyInputFailure<Role, Worker, Plan>where
Worker: Behavior,
Plan: ActivationPlan,
BehaviorAddr<Worker>: EndpointAddress,
StableProxy<Worker, Plan>: Behavior<Protocol = Worker::Protocol>,
impl<Role, Worker, Plan> ProxyInputFailure<Role, Worker, Plan>where
Worker: Behavior,
Plan: ActivationPlan,
BehaviorAddr<Worker>: EndpointAddress,
StableProxy<Worker, Plan>: Behavior<Protocol = Worker::Protocol>,
Sourcepub const fn operation(&self) -> &ProxyOperation<Here, Worker, Plan>
pub const fn operation(&self) -> &ProxyOperation<Here, Worker, Plan>
Inspect the complete returned replacement operation.
Sourcepub const fn reason(&self) -> ChildInputReason
pub const fn reason(&self) -> ChildInputReason
Inspect the exact capability rejection.
Auto Trait Implementations§
impl<Role, Worker, Plan> Freeze for ProxyInputFailure<Role, Worker, Plan>
impl<Role, Worker, Plan> RefUnwindSafe for ProxyInputFailure<Role, Worker, Plan>where
<<Worker as Behavior>::Protocol as Protocol>::Addr: Sized,
Role: RefUnwindSafe,
Worker: RefUnwindSafe,
Plan: RefUnwindSafe,
impl<Role, Worker, Plan> Send for ProxyInputFailure<Role, Worker, Plan>
impl<Role, Worker, Plan> Sync for ProxyInputFailure<Role, Worker, Plan>
impl<Role, Worker, Plan> Unpin for ProxyInputFailure<Role, Worker, Plan>
impl<Role, Worker, Plan> UnsafeUnpin for ProxyInputFailure<Role, Worker, Plan>where
<<Worker as Behavior>::Protocol as Protocol>::Addr: Sized,
Worker: UnsafeUnpin,
Plan: UnsafeUnpin,
impl<Role, Worker, Plan> UnwindSafe for ProxyInputFailure<Role, Worker, Plan>where
<<Worker as Behavior>::Protocol as Protocol>::Addr: Sized,
Role: RefUnwindSafe,
Worker: UnwindSafe,
Plan: 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