pub enum ResourceIdError {
InvalidParts {
bif_index: u32,
resource_index: u32,
},
}Expand description
Error returned when (bif_index, resource_index) parts exceed packed limits.
Variants§
InvalidParts
Packed parts exceed the format’s fixed bit widths.
Trait Implementations§
Source§impl Clone for ResourceIdError
impl Clone for ResourceIdError
Source§fn clone(&self) -> ResourceIdError
fn clone(&self) -> ResourceIdError
Returns a duplicate of the value. Read more
1.0.0 · 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 ResourceIdError
impl Debug for ResourceIdError
Source§impl Display for ResourceIdError
impl Display for ResourceIdError
Source§impl Error for ResourceIdError
impl Error for ResourceIdError
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 ResourceIdError
impl PartialEq for ResourceIdError
impl Eq for ResourceIdError
impl StructuralPartialEq for ResourceIdError
Auto Trait Implementations§
impl Freeze for ResourceIdError
impl RefUnwindSafe for ResourceIdError
impl Send for ResourceIdError
impl Sync for ResourceIdError
impl Unpin for ResourceIdError
impl UnwindSafe for ResourceIdError
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