pub struct StorageIdBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> StorageIdBuilder<'a>
impl<'a> StorageIdBuilder<'a>
Sourcepub fn securityOrigin(self, securityOrigin: impl Into<Cow<'a, str>>) -> Self
pub fn securityOrigin(self, securityOrigin: impl Into<Cow<'a, str>>) -> Self
Security origin for the storage.
Sourcepub fn storageKey(self, storageKey: SerializedStorageKey<'a>) -> Self
pub fn storageKey(self, storageKey: SerializedStorageKey<'a>) -> Self
Represents a key by which DOM Storage keys its CachedStorageAreas
pub fn build(self) -> StorageId<'a>
Auto Trait Implementations§
impl<'a> Freeze for StorageIdBuilder<'a>
impl<'a> RefUnwindSafe for StorageIdBuilder<'a>
impl<'a> Send for StorageIdBuilder<'a>
impl<'a> Sync for StorageIdBuilder<'a>
impl<'a> Unpin for StorageIdBuilder<'a>
impl<'a> UnsafeUnpin for StorageIdBuilder<'a>
impl<'a> UnwindSafe for StorageIdBuilder<'a>
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