pub struct ReadBudgetError {
pub resource: ReadBudgetResource,
pub limit: usize,
pub message: String,
}Expand description
Retains budget identity independently of the execution diagnostic text.
Fields§
§resource: ReadBudgetResource§limit: usize§message: StringTrait Implementations§
Source§impl Clone for ReadBudgetError
impl Clone for ReadBudgetError
Source§impl Debug for ReadBudgetError
impl Debug for ReadBudgetError
Source§impl Display for ReadBudgetError
impl Display for ReadBudgetError
impl Eq for ReadBudgetError
Source§impl Error for ReadBudgetError
impl Error for ReadBudgetError
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 ReadBudgetError
impl PartialEq for ReadBudgetError
impl StructuralPartialEq for ReadBudgetError
Auto Trait Implementations§
impl Freeze for ReadBudgetError
impl RefUnwindSafe for ReadBudgetError
impl Send for ReadBudgetError
impl Sync for ReadBudgetError
impl Unpin for ReadBudgetError
impl UnsafeUnpin for ReadBudgetError
impl UnwindSafe for ReadBudgetError
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