Enum ic_utils::canister::CanisterBuilderError
source · pub enum CanisterBuilderError {
PrincipalError(Box<dyn Error + Send + Sync>),
MustSpecifyAnAgent(),
MustSpecifyCanisterId(),
}
Expand description
An error happened while building a canister.
Variants§
PrincipalError(Box<dyn Error + Send + Sync>)
There was an error parsing the canister ID.
MustSpecifyAnAgent()
The agent was not provided.
MustSpecifyCanisterId()
The canister ID was not provided.
Trait Implementations§
source§impl Debug for CanisterBuilderError
impl Debug for CanisterBuilderError
source§impl Display for CanisterBuilderError
impl Display for CanisterBuilderError
source§impl Error for CanisterBuilderError
impl Error for CanisterBuilderError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for CanisterBuilderError
impl !RefUnwindSafe for CanisterBuilderError
impl Send for CanisterBuilderError
impl Sync for CanisterBuilderError
impl Unpin for CanisterBuilderError
impl !UnwindSafe for CanisterBuilderError
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