pub enum ProtocolBindingError {
MissingBinding {
canister: String,
},
MissingRole {
canister: String,
},
RoleMismatch {
canister: String,
registry_role: String,
protocol_role: String,
},
MissingReleaseIdentity {
canister: String,
},
MissingCandid {
canister: String,
role: String,
},
ReadCandid {
path: PathBuf,
source: Error,
},
CandidHashMismatch {
canister: String,
},
ProfileDigestMismatch {
canister: String,
},
InfrastructureRoleMismatch {
artifact_role: String,
protocol_role: String,
},
}Expand description
Failure to select an exact protocol profile before transport.
Variants§
MissingBinding
MissingRole
RoleMismatch
MissingReleaseIdentity
MissingCandid
ReadCandid
CandidHashMismatch
ProfileDigestMismatch
InfrastructureRoleMismatch
Trait Implementations§
Source§impl Debug for ProtocolBindingError
impl Debug for ProtocolBindingError
Source§impl Display for ProtocolBindingError
impl Display for ProtocolBindingError
Source§impl Error for ProtocolBindingError
impl Error for ProtocolBindingError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 !RefUnwindSafe for ProtocolBindingError
impl !UnwindSafe for ProtocolBindingError
impl Freeze for ProtocolBindingError
impl Send for ProtocolBindingError
impl Sync for ProtocolBindingError
impl Unpin for ProtocolBindingError
impl UnsafeUnpin for ProtocolBindingError
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