pub struct PolicyViewThen(/* private fields */);Implementations§
Source§impl PolicyViewThen
impl PolicyViewThen
pub fn new(inner: Then) -> Self
pub fn into_inner(self) -> Then
pub fn ok(self, value: &SiloRolePolicy) -> Self
pub fn client_error(self, status: u16, value: &Error) -> Self
pub fn server_error(self, status: u16, value: &Error) -> Self
Auto Trait Implementations§
impl Freeze for PolicyViewThen
impl !RefUnwindSafe for PolicyViewThen
impl !Send for PolicyViewThen
impl !Sync for PolicyViewThen
impl Unpin for PolicyViewThen
impl UnsafeUnpin for PolicyViewThen
impl !UnwindSafe for PolicyViewThen
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