pub enum LocalStorageInitializerError {
OverlapWithExistingSection(usize),
InvalidVirtualAddress(usize),
NoRemainingSpace,
}
Expand description
Errors that may occur when adding sections to a LocalStorageInitializer
.
Variants§
OverlapWithExistingSection(usize)
Inserting a CLS/TLS section at the included offset
would erroneously overlap with an existing section.
This indicates a link-time bug or a bug in the symbol parsing code
that invokes the [LocalStorageInitializer::add_existing_static_tls_section()
].
InvalidVirtualAddress(usize)
The included virtual address calculated for a CLS/TLS section was invalid.
NoRemainingSpace
There was insufficient space to insert a CLS/TLS section into the data image.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for LocalStorageInitializerError
impl Send for LocalStorageInitializerError
impl Sync for LocalStorageInitializerError
impl Unpin for LocalStorageInitializerError
impl UnwindSafe for LocalStorageInitializerError
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