pub trait HostDeriveInput: Send {
// Required methods
fn can_derive_bits(&mut self, self_: Resource<DeriveInput>) -> Result<bool>;
fn can_derive_key(&mut self, self_: Resource<DeriveInput>) -> Result<bool>;
}Required Methods§
Sourcefn can_derive_bits(&mut self, self_: Resource<DeriveInput>) -> Result<bool>
fn can_derive_bits(&mut self, self_: Resource<DeriveInput>) -> Result<bool>
Whether derive-bits (and minting extractable keys) is
permitted. See derive-options.can-derive-bits.
Sourcefn can_derive_key(&mut self, self_: Resource<DeriveInput>) -> Result<bool>
fn can_derive_key(&mut self, self_: Resource<DeriveInput>) -> Result<bool>
Whether the target interfaces’ derive-key is permitted. See
derive-options.can-derive-key.
Implementations on Foreign Types§
Source§impl<_T: HostDeriveInput + ?Sized + Send> HostDeriveInput for &mut _T
impl<_T: HostDeriveInput + ?Sized + Send> HostDeriveInput for &mut _T
Source§fn can_derive_bits(&mut self, self_: Resource<DeriveInput>) -> Result<bool>
fn can_derive_bits(&mut self, self_: Resource<DeriveInput>) -> Result<bool>
Whether derive-bits (and minting extractable keys) is
permitted. See derive-options.can-derive-bits.
Source§fn can_derive_key(&mut self, self_: Resource<DeriveInput>) -> Result<bool>
fn can_derive_key(&mut self, self_: Resource<DeriveInput>) -> Result<bool>
Whether the target interfaces’ derive-key is permitted. See
derive-options.can-derive-key.