pub struct StoreName(_);
Implementations
sourceimpl StoreName
impl StoreName
sourcepub const MAX_LEN: usize = 54usize
pub const MAX_LEN: usize = 54usize
Maximum allowed length of name of a store
Internal
TODO: This is currently too long, should reduce to 32 but currently can’t as we have stores in use with longer names.
The host has a limitation on 64 total for store name + user id (~20 chars), see SyncStoreName
pub const fn const_new(name: &'static str) -> Self
pub fn new(name: &'static str) -> Self
pub fn as_str(&self) -> &'static str
Trait Implementations
sourceimpl PartialEq<StoreName> for StoreName
impl PartialEq<StoreName> for StoreName
impl Copy for StoreName
impl Eq for StoreName
impl StructuralEq for StoreName
impl StructuralPartialEq for StoreName
Auto Trait Implementations
impl RefUnwindSafe for StoreName
impl Send for StoreName
impl Sync for StoreName
impl Unpin for StoreName
impl UnwindSafe for StoreName
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more