pub struct MemoryRequest { /* private fields */ }Expand description
Checked request naming a store under one host-granted authority.
Implementations§
Source§impl MemoryRequest
impl MemoryRequest
Sourcepub fn new(
authority: impl Into<String>,
key: &str,
) -> Result<Self, AdmissionError>
pub fn new( authority: impl Into<String>, key: &str, ) -> Result<Self, AdmissionError>
Construct a key-only allocation request.
Declaring authority label.
Sourcepub const fn stable_key(&self) -> &StableKey
pub const fn stable_key(&self) -> &StableKey
Requested durable name.
Trait Implementations§
Source§impl Clone for MemoryRequest
impl Clone for MemoryRequest
Source§impl Debug for MemoryRequest
impl Debug for MemoryRequest
impl Eq for MemoryRequest
Source§impl PartialEq for MemoryRequest
impl PartialEq for MemoryRequest
impl StructuralPartialEq for MemoryRequest
Auto Trait Implementations§
impl Freeze for MemoryRequest
impl RefUnwindSafe for MemoryRequest
impl Send for MemoryRequest
impl Sync for MemoryRequest
impl Unpin for MemoryRequest
impl UnsafeUnpin for MemoryRequest
impl UnwindSafe for MemoryRequest
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