Struct loco_protocol::command::client::LocoClient
source · #[non_exhaustive]pub struct LocoClient {
pub read_buffer: VecDeque<u8>,
pub write_buffer: VecDeque<u8>,
}Expand description
IO-free loco protocol client
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.read_buffer: VecDeque<u8>Read buffer for client
write_buffer: VecDeque<u8>Write buffer for client
Implementations§
source§impl LocoClient
impl LocoClient
Trait Implementations§
source§impl Debug for LocoClient
impl Debug for LocoClient
Auto Trait Implementations§
impl RefUnwindSafe for LocoClient
impl Send for LocoClient
impl Sync for LocoClient
impl Unpin for LocoClient
impl UnwindSafe for LocoClient
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