Struct Error
pub struct Error { /* private fields */ }
Implementations§
§impl Error
impl Error
pub const OK: Error
pub const FAILED: Error
pub const ERR_UNAVAILABLE: Error
pub const ERR_UNCONFIGURED: Error
pub const ERR_UNAUTHORIZED: Error
pub const ERR_PARAMETER_RANGE_ERROR: Error
pub const ERR_OUT_OF_MEMORY: Error
pub const ERR_FILE_NOT_FOUND: Error
pub const ERR_FILE_BAD_DRIVE: Error
pub const ERR_FILE_BAD_PATH: Error
pub const ERR_FILE_NO_PERMISSION: Error
pub const ERR_FILE_ALREADY_IN_USE: Error
pub const ERR_FILE_CANT_OPEN: Error
pub const ERR_FILE_CANT_WRITE: Error
pub const ERR_FILE_CANT_READ: Error
pub const ERR_FILE_UNRECOGNIZED: Error
pub const ERR_FILE_CORRUPT: Error
pub const ERR_FILE_MISSING_DEPENDENCIES: Error
pub const ERR_FILE_EOF: Error
pub const ERR_CANT_OPEN: Error
pub const ERR_CANT_CREATE: Error
pub const ERR_QUERY_FAILED: Error
pub const ERR_ALREADY_IN_USE: Error
pub const ERR_LOCKED: Error
pub const ERR_TIMEOUT: Error
pub const ERR_CANT_CONNECT: Error
pub const ERR_CANT_RESOLVE: Error
pub const ERR_CONNECTION_ERROR: Error
pub const ERR_CANT_ACQUIRE_RESOURCE: Error
pub const ERR_CANT_FORK: Error
pub const ERR_INVALID_DATA: Error
pub const ERR_INVALID_PARAMETER: Error
pub const ERR_ALREADY_EXISTS: Error
pub const ERR_DOES_NOT_EXIST: Error
pub const ERR_DATABASE_CANT_READ: Error
pub const ERR_DATABASE_CANT_WRITE: Error
pub const ERR_COMPILATION_FAILED: Error
pub const ERR_METHOD_NOT_FOUND: Error
pub const ERR_LINK_FAILED: Error
pub const ERR_SCRIPT_FAILED: Error
pub const ERR_CYCLIC_LINK: Error
pub const ERR_INVALID_DECLARATION: Error
pub const ERR_DUPLICATE_SYMBOL: Error
pub const ERR_PARSE_ERROR: Error
pub const ERR_BUSY: Error
pub const ERR_SKIP: Error
pub const ERR_HELP: Error
pub const ERR_BUG: Error
pub const ERR_PRINTER_ON_FIRE: Error
Trait Implementations§
§impl EngineEnum for Error
impl EngineEnum for Error
§impl FromGodot for Error
impl FromGodot for Error
§fn try_from_godot(
via: <Error as GodotConvert>::Via,
) -> Result<Error, ConvertError>
fn try_from_godot( via: <Error as GodotConvert>::Via, ) -> Result<Error, ConvertError>
Converts the Godot representation to this type, returning
Err
on failure.§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
⚠️ Converts the Godot representation to this type. Read more
§fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
Performs the conversion from a
Variant
, returning Err
on failure.§fn from_variant(variant: &Variant) -> Self
fn from_variant(variant: &Variant) -> Self
impl Copy for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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