pub enum InvalidPosition {
Unaligned {
position: u32,
},
Unavailable {
position: u32,
},
}
Expand description
Errors caused by failed move_to operation.
Variants§
Unaligned
Position is not properly aligned with the channel’s records
Position is not available in the channel - it is past the last valid record of the channel.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InvalidPosition
impl RefUnwindSafe for InvalidPosition
impl Send for InvalidPosition
impl Sync for InvalidPosition
impl Unpin for InvalidPosition
impl UnwindSafe for InvalidPosition
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