Struct LocalCalls
pub struct LocalCalls { /* private fields */ }Expand description
The protocol calls of a server, answered in its own process: the HTTP
API of fusee server --http. Calls go through an
in-process client connection, opened again
whenever the server closed it (a replica closes its clients on every
view change, and every connection while it is not the ready primary).
A call that only reads is sent again once if the connection broke under
it; any other fails, since the server may have run it.
Implementations§
§impl LocalCalls
impl LocalCalls
Trait Implementations§
§impl Calls for LocalCalls
impl Calls for LocalCalls
fn call<'a>(&'a self, method: &'a str, args: Value) -> CallFuture<'a>
Auto Trait Implementations§
impl !Freeze for LocalCalls
impl !RefUnwindSafe for LocalCalls
impl !UnwindSafe for LocalCalls
impl Forget for LocalCalls
impl Move for LocalCalls
impl Send for LocalCalls
impl Sync for LocalCalls
impl Unpin for LocalCalls
impl UnsafeUnpin for LocalCalls
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