pub enum Access {
ReadWrite,
Read,
}Expand description
What this syncer may do to the bucket (per-user access design §4.4).
Read is a syncer that follows the workspace and never writes to it:
no fence, no barrier, no inbox consume, no garbage collection. Its
floor tick pulls — the inbox and the pointer, and a sync when
either moved — and a publish is answered refused-read-only. It is
what a read-only credential is SUFFICIENT for; the credential, not
this flag, is what keeps a reader’s bytes out of the bucket.
Variants§
Implementations§
Trait Implementations§
impl Copy for Access
impl Eq for Access
impl StructuralPartialEq for Access
Auto Trait Implementations§
impl Freeze for Access
impl RefUnwindSafe for Access
impl Send for Access
impl Sync for Access
impl Unpin for Access
impl UnsafeUnpin for Access
impl UnwindSafe for Access
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