pub enum Error {
Stopped(Stop),
Invalid,
Unsupported,
Rejected,
}Expand description
読み書きが失敗した理由。詳しいことは、診断として文脈に足してある
Variants§
Stopped(Stop)
予算の上限か、中断の合図で止めた
Invalid
入力が壊れていて読めない
Unsupported
形式は分かったが、このコーデックでは扱えない
Rejected
変更が形式の規則に合わないので、何も反映しなかった
Trait Implementations§
impl Copy for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Forget for Error
impl Freeze for Error
impl Move for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl UnwindSafe for Error
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