#[non_exhaustive]pub struct FlagsFailure<'a> { /* private fields */ }Expand description
Details of a failed remote /flags request.
Fields are read through accessors; the struct is #[non_exhaustive].
Implementations§
Source§impl<'a> FlagsFailure<'a>
impl<'a> FlagsFailure<'a>
Sourcepub fn error(&self) -> &Error
pub fn error(&self) -> &Error
The cause of the failure (Error::Connection for transport or
non-success status, Error::Serialization for an unparseable body).
Sourcepub fn distinct_id(&self) -> Option<&str>
pub fn distinct_id(&self) -> Option<&str>
The distinct_id the request was evaluating flags for, when known.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for FlagsFailure<'a>
impl<'a> RefUnwindSafe for FlagsFailure<'a>
impl<'a> Send for FlagsFailure<'a>
impl<'a> Sync for FlagsFailure<'a>
impl<'a> Unpin for FlagsFailure<'a>
impl<'a> UnsafeUnpin for FlagsFailure<'a>
impl<'a> UnwindSafe for FlagsFailure<'a>
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