#[repr(u16)]pub enum CacheReuseScope {
Operation = 0,
Session = 1,
Connection = 2,
Global = 3,
Tenant = 4,
Profile = 5,
}Variants§
Implementations§
Source§impl CacheReuseScope
impl CacheReuseScope
pub fn try_from_u16(value: u16) -> Result<Self, NnrpError>
Trait Implementations§
Source§impl Clone for CacheReuseScope
impl Clone for CacheReuseScope
Source§fn clone(&self) -> CacheReuseScope
fn clone(&self) -> CacheReuseScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CacheReuseScope
Source§impl Debug for CacheReuseScope
impl Debug for CacheReuseScope
impl Eq for CacheReuseScope
Source§impl PartialEq for CacheReuseScope
impl PartialEq for CacheReuseScope
impl StructuralPartialEq for CacheReuseScope
Auto Trait Implementations§
impl Freeze for CacheReuseScope
impl RefUnwindSafe for CacheReuseScope
impl Send for CacheReuseScope
impl Sync for CacheReuseScope
impl Unpin for CacheReuseScope
impl UnsafeUnpin for CacheReuseScope
impl UnwindSafe for CacheReuseScope
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