Enum tensorflow_sys::TF_Code
source · #[repr(i32)]pub enum TF_Code {
Show 17 variants
TF_OK,
TF_CANCELLED,
TF_UNKNOWN,
TF_INVALID_ARGUMENT,
TF_DEADLINE_EXCEEDED,
TF_NOT_FOUND,
TF_ALREADY_EXISTS,
TF_PERMISSION_DENIED,
TF_UNAUTHENTICATED,
TF_RESOURCE_EXHAUSTED,
TF_FAILED_PRECONDITION,
TF_ABORTED,
TF_OUT_OF_RANGE,
TF_UNIMPLEMENTED,
TF_INTERNAL,
TF_UNAVAILABLE,
TF_DATA_LOSS,
}
Variants§
TF_OK
TF_CANCELLED
TF_UNKNOWN
TF_INVALID_ARGUMENT
TF_DEADLINE_EXCEEDED
TF_NOT_FOUND
TF_ALREADY_EXISTS
TF_PERMISSION_DENIED
TF_UNAUTHENTICATED
TF_RESOURCE_EXHAUSTED
TF_FAILED_PRECONDITION
TF_ABORTED
TF_OUT_OF_RANGE
TF_UNIMPLEMENTED
TF_INTERNAL
TF_UNAVAILABLE
TF_DATA_LOSS
Trait Implementations§
source§impl PartialEq<TF_Code> for TF_Code
impl PartialEq<TF_Code> for TF_Code
impl Copy for TF_Code
impl Eq for TF_Code
impl StructuralEq for TF_Code
impl StructuralPartialEq for TF_Code
Auto Trait Implementations§
impl RefUnwindSafe for TF_Code
impl Send for TF_Code
impl Sync for TF_Code
impl Unpin for TF_Code
impl UnwindSafe for TF_Code
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