pub enum RuntimeSessionAuthority {
WholeBlob(WholeBlobStoreAuthority),
HeadCanonical(HeadCanonicalStoreAuthority),
}Expand description
Singular store-issued committed authority for a runtime session.
Variants§
WholeBlob(WholeBlobStoreAuthority)
HeadCanonical(HeadCanonicalStoreAuthority)
Implementations§
Source§impl RuntimeSessionAuthority
impl RuntimeSessionAuthority
pub const fn profile(&self) -> RuntimeSessionPersistenceProfile
pub fn session_id(&self) -> &SessionId
pub fn whole_blob(&self) -> Option<&WholeBlobStoreAuthority>
pub fn head_canonical(&self) -> Option<&HeadCanonicalStoreAuthority>
Trait Implementations§
Source§impl Clone for RuntimeSessionAuthority
impl Clone for RuntimeSessionAuthority
Source§fn clone(&self) -> RuntimeSessionAuthority
fn clone(&self) -> RuntimeSessionAuthority
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 moreSource§impl Debug for RuntimeSessionAuthority
impl Debug for RuntimeSessionAuthority
Source§impl PartialEq for RuntimeSessionAuthority
impl PartialEq for RuntimeSessionAuthority
impl StructuralPartialEq for RuntimeSessionAuthority
Auto Trait Implementations§
impl Freeze for RuntimeSessionAuthority
impl RefUnwindSafe for RuntimeSessionAuthority
impl Send for RuntimeSessionAuthority
impl Sync for RuntimeSessionAuthority
impl Unpin for RuntimeSessionAuthority
impl UnsafeUnpin for RuntimeSessionAuthority
impl UnwindSafe for RuntimeSessionAuthority
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