Enum soroban_env_guest::SymbolError
source · [−]Expand description
Errors related to operations on the Symbol type.
Variants
TooLong(usize)
Returned when attempting to form a Symbol from a string with more than 10 characters.
BadChar(char)
Returned when attempting to form a Symbol from a string with
characters outside the range [a-zA-Z0-9_]
.
Trait Implementations
sourceimpl Debug for SymbolError
impl Debug for SymbolError
sourceimpl Display for SymbolError
impl Display for SymbolError
sourceimpl From<SymbolError> for ConversionError
impl From<SymbolError> for ConversionError
sourcefn from(SymbolError) -> ConversionError
fn from(SymbolError) -> ConversionError
Converts to this type from the input type.
sourceimpl From<SymbolError> for Status
impl From<SymbolError> for Status
sourcefn from(se: SymbolError) -> Status
fn from(se: SymbolError) -> Status
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for SymbolError
impl Send for SymbolError
impl Sync for SymbolError
impl Unpin for SymbolError
impl UnwindSafe for SymbolError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more