pub enum WriteRoute {
Remote,
Observe,
Mirror,
}Expand description
Where a PUT goes.
Variants§
Remote
Wrapped store only.
Observe
Wrapped store, then the whole payload goes to MirrorPolicy::observe
before returning success.
Mirror
Write to both. Returns after the upload succeeds and the local file is in place.
Trait Implementations§
Source§impl Clone for WriteRoute
impl Clone for WriteRoute
impl Copy for WriteRoute
Source§impl Debug for WriteRoute
impl Debug for WriteRoute
impl Eq for WriteRoute
Source§impl PartialEq for WriteRoute
impl PartialEq for WriteRoute
impl StructuralPartialEq for WriteRoute
Auto Trait Implementations§
impl Forget for WriteRoute
impl Freeze for WriteRoute
impl RefUnwindSafe for WriteRoute
impl Send for WriteRoute
impl Sync for WriteRoute
impl Unpin for WriteRoute
impl UnsafeUnpin for WriteRoute
impl UnwindSafe for WriteRoute
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.