pub enum CursorError {
EndOfCursor,
}Expand description
Error type for Cursor operations
Variants§
EndOfCursor
Trait Implementations§
Source§impl Clone for CursorError
impl Clone for CursorError
Source§fn clone(&self) -> CursorError
fn clone(&self) -> CursorError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CursorError
impl Debug for CursorError
Source§impl PartialEq for CursorError
impl PartialEq for CursorError
impl StructuralPartialEq for CursorError
Source§impl<'a, W> WordRead<W, CursorError, NativeEndian> for Cursor<'a, W>where
W: Word,
impl<'a, W> WordRead<W, CursorError, NativeEndian> for Cursor<'a, W>where
W: Word,
Source§fn read(&mut self) -> Result<W, CursorError>where
W: Word,
fn read(&mut self) -> Result<W, CursorError>where
W: Word,
Read one Word from the cursor, returning CursorError::EndOfCursor if no words left.
Auto Trait Implementations§
impl Freeze for CursorError
impl RefUnwindSafe for CursorError
impl Send for CursorError
impl Sync for CursorError
impl Unpin for CursorError
impl UnsafeUnpin for CursorError
impl UnwindSafe for CursorError
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