pub enum FactoryDataManagerRequest {
GetPairingCode {
responder: FactoryDataManagerGetPairingCodeResponder,
},
GetWeaveCertificate {
responder: FactoryDataManagerGetWeaveCertificateResponder,
},
}
Expand description
This protocol is used to retrieve factory data that may be encrypted at rest.
Variants§
GetPairingCode
Return the device pairing_code
on success.
Fields
§
responder: FactoryDataManagerGetPairingCodeResponder
GetWeaveCertificate
Returns the factory provisioned Weave certificate in PEM format.
Fields
Implementations§
Source§impl FactoryDataManagerRequest
impl FactoryDataManagerRequest
pub fn into_get_pairing_code( self, ) -> Option<FactoryDataManagerGetPairingCodeResponder>
pub fn into_get_weave_certificate( self, ) -> Option<FactoryDataManagerGetWeaveCertificateResponder>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FactoryDataManagerRequest
impl !RefUnwindSafe for FactoryDataManagerRequest
impl Send for FactoryDataManagerRequest
impl Sync for FactoryDataManagerRequest
impl Unpin for FactoryDataManagerRequest
impl !UnwindSafe for FactoryDataManagerRequest
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