pub enum PullResult {
NotModified,
Policy {
body: String,
etag: String,
},
}Expand description
Outcome of a conditional policy pull.
Variants§
NotModified
The edge’s ETag still matched — nothing changed.
Policy
A new policy: its opaque TOML body and the new ETag.
Auto Trait Implementations§
impl Freeze for PullResult
impl RefUnwindSafe for PullResult
impl Send for PullResult
impl Sync for PullResult
impl Unpin for PullResult
impl UnsafeUnpin for PullResult
impl UnwindSafe for PullResult
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