#[repr(u8)]pub enum Status {
PassAdd = 1,
PassReplace = 2,
Fail = 16,
Error = 17,
Follow = 33,
}Expand description
The status of an authorization operation, as returned by the server.
Variants§
PassAdd = 1
Authorization passed; server may have additional arguments for the client.
PassReplace = 2
Authorization passed; server provides argument values to override those provided in the request.
Fail = 16
Authorization request was denied.
Error = 17
An error ocurred on the server.
Follow = 33
👎Deprecated: Forwarding to an alternative daemon was deprecated in RFC 8907.
Forward authorization request to an alternative daemon.
Trait Implementations§
Source§impl TryFromPrimitive for Status
impl TryFromPrimitive for Status
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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