pub enum ProviderError {
ResourceBackendMismatch {
missing: Vec<ResourceId>,
},
CeilingWithoutResource {
missing: Vec<ResourceId>,
},
MappingSmallerThanLogical {
resource: ResourceId,
},
}Expand description
Why a provider bundle was rejected.
Variants§
ResourceBackendMismatch
A resource has no backend, or a backend has no resource.
Fields
§
missing: Vec<ResourceId>Resource ordinals present on exactly one side.
CeilingWithoutResource
A ceiling entry names a resource that is not offered. The reverse (an offered resource without a ceiling entry) is legal and simply permits nothing.
Fields
§
missing: Vec<ResourceId>The dangling ceiling ordinals.
MappingSmallerThanLogical
A resource’s mapped size is smaller than its logical size, so reads the description advertises could fault.
Fields
§
resource: ResourceIdThe offending resource ordinal.
Trait Implementations§
Source§impl Clone for ProviderError
impl Clone for ProviderError
Source§impl Debug for ProviderError
impl Debug for ProviderError
impl Eq for ProviderError
Source§impl PartialEq for ProviderError
impl PartialEq for ProviderError
impl StructuralPartialEq for ProviderError
Auto Trait Implementations§
impl Freeze for ProviderError
impl RefUnwindSafe for ProviderError
impl Send for ProviderError
impl Sync for ProviderError
impl Unpin for ProviderError
impl UnsafeUnpin for ProviderError
impl UnwindSafe for ProviderError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.