pub struct KRPC {
pub client: Arc<Client>,
}Fields§
§client: Arc<Client>Implementations§
Source§impl KRPC
impl KRPC
pub fn add_event_stream( &self, expression: &Expression, ) -> Result<Stream<Event>, RpcError>
pub fn add_event(&self, expression: &Expression) -> Result<Event, RpcError>
Source§impl KRPC
impl KRPC
pub fn get_services_stream(&self) -> Result<Stream<Services>, RpcError>
pub fn get_services(&self) -> Result<Services, RpcError>
Source§impl KRPC
impl KRPC
pub fn get_status_stream(&self) -> Result<Stream<Status>, RpcError>
pub fn get_status(&self) -> Result<Status, RpcError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KRPC
impl RefUnwindSafe for KRPC
impl Send for KRPC
impl Sync for KRPC
impl Unpin for KRPC
impl UnwindSafe for KRPC
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