[−][src]Struct fluvio_sc_schema::Status
Fields
name: String
error_code: ErrorCode
error_message: Option<String>
Implementations
impl Status
[src]
pub fn new_ok(name: String) -> Self
[src]
pub fn new(name: String, code: ErrorCode, msg: Option<String>) -> Self
[src]
pub fn is_error(&self) -> bool
[src]
pub fn as_result(self) -> Result<(), ApiError>
[src]
Trait Implementations
impl Debug for Status
[src]
impl Decoder for Status
[src]
pub fn decode<T>(&mut self, src: &mut T, version: Version) -> Result<(), Error> where
T: Buf,
[src]
T: Buf,
pub fn decode_from<T>(src: &mut T, version: i16) -> Result<Self, Error> where
Self: Default,
T: Buf,
Self: Default,
T: Buf,
impl Default for Status
[src]
impl Encoder for Status
[src]
Auto Trait Implementations
impl RefUnwindSafe for Status
[src]
impl Send for Status
[src]
impl Sync for Status
[src]
impl Unpin for Status
[src]
impl UnwindSafe for Status
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,