pub enum NoteState {
Handshake,
Request,
Poll(usize),
Response(usize),
ResponseReady,
}Variants§
Handshake
Perform handshake with Notecard.
Request
Ready to make request.
Poll(usize)
Waiting for response to become ready, value is tries made.
Response(usize)
Reading response, value is remaining bytes.
ResponseReady
Full response has been read into buf.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NoteState
impl RefUnwindSafe for NoteState
impl Send for NoteState
impl Sync for NoteState
impl Unpin for NoteState
impl UnsafeUnpin for NoteState
impl UnwindSafe for NoteState
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