pub struct CliApi<B> { /* private fields */ }Implementations§
Source§impl<B: ForgeBackend> CliApi<B>
impl<B: ForgeBackend> CliApi<B>
pub fn new(backend: B) -> Self
pub fn handle(&self, request: CliRequest) -> Result<CliOutput, ForgeError>
Auto Trait Implementations§
impl<B> Freeze for CliApi<B>where
B: Freeze,
impl<B> RefUnwindSafe for CliApi<B>where
B: RefUnwindSafe,
impl<B> Send for CliApi<B>where
B: Send,
impl<B> Sync for CliApi<B>where
B: Sync,
impl<B> Unpin for CliApi<B>where
B: Unpin,
impl<B> UnsafeUnpin for CliApi<B>where
B: UnsafeUnpin,
impl<B> UnwindSafe for CliApi<B>where
B: 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