pub enum Refused {
Rejected(String),
NotFound(String),
Failed(Failure),
}Expand description
Why a write did not happen.
Variants§
Rejected(String)
GitHub refused it: branch protection, a head that moved, a method the repository does not allow, or missing permission. Its message.
NotFound(String)
Failed(Failure)
The request failed: network, rate limit, or a 5xx.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Refused
impl Freeze for Refused
impl RefUnwindSafe for Refused
impl Send for Refused
impl Sync for Refused
impl Unpin for Refused
impl UnsafeUnpin for Refused
impl UnwindSafe for Refused
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