pub enum ReaderView<'a> {
Public,
Owner(&'a RequestMeta<'a>),
}Expand description
Repository view, with envelope-verified owner authority.
Variants§
Public
Anonymous public-repository reads through published membership and refs.
Owner(&'a RequestMeta<'a>)
Signed ListRefs envelope; authority and epoch are rechecked per batch.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ReaderView<'a>
impl<'a> !Send for ReaderView<'a>
impl<'a> !Sync for ReaderView<'a>
impl<'a> !UnwindSafe for ReaderView<'a>
impl<'a> Freeze for ReaderView<'a>
impl<'a> Unpin for ReaderView<'a>
impl<'a> UnsafeUnpin for ReaderView<'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