pub enum ComponentStoreError {
NotBlobStorage(ComponentId),
BlobTooLarge {
component_id: ComponentId,
actual: usize,
max: usize,
},
Codec(ComponentCodecError),
MissingBlob(ComponentId),
}Expand description
Component storage error.
Variants§
NotBlobStorage(ComponentId)
Descriptor does not use SectorSync-owned blob storage.
BlobTooLarge
Blob exceeds descriptor limit.
Fields
§
component_id: ComponentIdComponent id.
Codec(ComponentCodecError)
Codec failed while encoding or decoding.
MissingBlob(ComponentId)
Component blob does not exist.
Trait Implementations§
Source§impl Clone for ComponentStoreError
impl Clone for ComponentStoreError
Source§fn clone(&self) -> ComponentStoreError
fn clone(&self) -> ComponentStoreError
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 moreimpl Copy for ComponentStoreError
Source§impl Debug for ComponentStoreError
impl Debug for ComponentStoreError
Source§impl Display for ComponentStoreError
impl Display for ComponentStoreError
impl Eq for ComponentStoreError
Source§impl Error for ComponentStoreError
impl Error for ComponentStoreError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ComponentStoreError
impl PartialEq for ComponentStoreError
impl StructuralPartialEq for ComponentStoreError
Auto Trait Implementations§
impl Freeze for ComponentStoreError
impl RefUnwindSafe for ComponentStoreError
impl Send for ComponentStoreError
impl Sync for ComponentStoreError
impl Unpin for ComponentStoreError
impl UnsafeUnpin for ComponentStoreError
impl UnwindSafe for ComponentStoreError
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