pub struct Failer<T> {
pub child: Box<dyn Node<T>>,
}Expand description
Always returns Failure regardless of child result.
Fields§
§child: Box<dyn Node<T>>Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Failer<T>
impl<T> !RefUnwindSafe for Failer<T>
impl<T> Send for Failer<T>
impl<T> Sync for Failer<T>
impl<T> Unpin for Failer<T>
impl<T> UnsafeUnpin for Failer<T>
impl<T> !UnwindSafe for Failer<T>
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