Struct lunatic_distributed::distributed::client::Client
source · pub struct Client { /* private fields */ }Implementations§
source§impl Client
impl Client
pub async fn new( _node_id: u64, control_client: Client, quic_client: Client ) -> Result<Client>
pub fn next_message_id(&self) -> u64
pub async fn message_process( &self, node_id: u64, environment_id: u64, process_id: u64, tag: Option<i64>, data: Vec<u8> ) -> Result<(), ClientError>
pub async fn spawn( &self, node_id: u64, spawn: Spawn ) -> Result<u64, ClientError>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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
§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where T: AsFilelike,
Query the “status” flags for the
self file descriptor.