pub struct Scanner { /* private fields */ }Implementations§
Source§impl Scanner
impl Scanner
pub fn new(log_list: String) -> Result<Self, String>
pub async fn collect_report( &self, url: String, certs: CertificateChain, ) -> Result<Option<JsValue>, String>
pub fn is_report_safe(report: JsValue) -> Result<bool, String>
pub async fn basic_statistics(&self) -> Result<JsValue, String>
Trait Implementations§
Source§impl FromWasmAbi for Scanner
impl FromWasmAbi for Scanner
Source§impl IntoWasmAbi for Scanner
impl IntoWasmAbi for Scanner
Source§impl LongRefFromWasmAbi for Scanner
impl LongRefFromWasmAbi for Scanner
Source§impl OptionFromWasmAbi for Scanner
impl OptionFromWasmAbi for Scanner
Source§impl OptionIntoWasmAbi for Scanner
impl OptionIntoWasmAbi for Scanner
Source§impl RefFromWasmAbi for Scanner
impl RefFromWasmAbi for Scanner
Source§type Abi = WasmPtr<WasmRefCell<Scanner>>
type Abi = WasmPtr<WasmRefCell<Scanner>>
The Wasm ABI type references to
Self are recovered from.Source§impl RefMutFromWasmAbi for Scanner
impl RefMutFromWasmAbi for Scanner
impl SupportsConstructor for Scanner
impl SupportsInstanceProperty for Scanner
impl SupportsStaticProperty for Scanner
Source§impl TryFromJsValue for Scanner
impl TryFromJsValue for Scanner
Source§impl VectorFromWasmAbi for Scanner
impl VectorFromWasmAbi for Scanner
Source§impl VectorIntoWasmAbi for Scanner
impl VectorIntoWasmAbi for Scanner
Auto Trait Implementations§
impl !Freeze for Scanner
impl !RefUnwindSafe for Scanner
impl !Send for Scanner
impl !Sync for Scanner
impl !UnwindSafe for Scanner
impl Unpin for Scanner
impl UnsafeUnpin for Scanner
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.