pub enum BindError {
Encoding(String),
AuthorityCidMismatch(Box<AuthorityMismatch>),
}Variants§
Encoding(String)
Computing the authority’s CID failed (dag-cbor encoding).
AuthorityCidMismatch(Box<AuthorityMismatch>)
The supplied body’s CID is not the AuthorityId the grant names —
it is a different authority than the one the grant content-binds. A
resolver handing over a “convenient” body is rejected here, fail-closed.
Trait Implementations§
impl Eq for BindError
impl StructuralPartialEq for BindError
Auto Trait Implementations§
impl Freeze for BindError
impl RefUnwindSafe for BindError
impl Send for BindError
impl Sync for BindError
impl Unpin for BindError
impl UnsafeUnpin for BindError
impl UnwindSafe for BindError
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