pub enum AssemblyError {
Lifetime {
lifetime_ms: u64,
},
Binding {
what: &'static str,
},
Plan(String),
NotCanonical {
location: ItemLocation,
},
TooLarge {
bytes: usize,
limit: usize,
},
Bundle(BundleError),
}Expand description
Why no bundle was assembled.
Variants§
Lifetime
The lifetime is zero, beyond the cap, or past the last timestamp.
Binding
Capture, run record, plan and snapshot do not describe one decision.
Plan(String)
The plan does not load with the given dependencies.
NotCanonical
A document has no record canonical form.
Fields
§
location: ItemLocationTooLarge
The escaped bundle or its embedded bytes exceed the replay bounds.
Bundle(BundleError)
Trait Implementations§
Source§impl Clone for AssemblyError
impl Clone for AssemblyError
Source§impl Debug for AssemblyError
impl Debug for AssemblyError
Source§impl Display for AssemblyError
impl Display for AssemblyError
impl Eq for AssemblyError
Source§impl Error for AssemblyError
impl Error for AssemblyError
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 AssemblyError
impl PartialEq for AssemblyError
impl StructuralPartialEq for AssemblyError
Auto Trait Implementations§
impl Freeze for AssemblyError
impl RefUnwindSafe for AssemblyError
impl Send for AssemblyError
impl Sync for AssemblyError
impl Unpin for AssemblyError
impl UnsafeUnpin for AssemblyError
impl UnwindSafe for AssemblyError
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