pub struct NautClient { /* private fields */ }Trait Implementations§
Source§impl Default for NautClient
impl Default for NautClient
Source§fn default() -> NautClient
fn default() -> NautClient
Returns the “default value” for a type. Read more
Source§impl SocketPlugin<'_, NautClient> for LoggingPlugin
impl SocketPlugin<'_, NautClient> for LoggingPlugin
fn register(&self, socket: &mut NautSocket<'_, NautClient>)
Source§impl<'socket> SocketType<'socket> for NautClient
impl<'socket> SocketType<'socket> for NautClient
Source§fn update_current_send_seq_num_for_event(
&mut self,
_addr: &SocketAddr,
event: &str,
) -> Option<SequenceNumber>
fn update_current_send_seq_num_for_event( &mut self, _addr: &SocketAddr, event: &str, ) -> Option<SequenceNumber>
Updates the current sequence number for that specific event and should be
handled on a per client basis
Source§fn last_recv_seq_num_for_event(
&'socket mut self,
_addr: &SocketAddr,
event: &str,
) -> Option<&'socket mut SequenceNumber>
fn last_recv_seq_num_for_event( &'socket mut self, _addr: &SocketAddr, event: &str, ) -> Option<&'socket mut SequenceNumber>
Returns a mutable reference to the last received sequence number, it should be changed to
the newest sequence number if the last received sequence number is lower
Auto Trait Implementations§
impl Freeze for NautClient
impl RefUnwindSafe for NautClient
impl Send for NautClient
impl Sync for NautClient
impl Unpin for NautClient
impl UnwindSafe for NautClient
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