[]Struct jni_android_sys::java::util::logging::XMLFormatter

#[repr(transparent)]
pub struct XMLFormatter(_);

public class XMLFormatter

Required feature: "java-util-logging-XMLFormatter"

Methods

impl XMLFormatter

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, XMLFormatter>, Local<'env, Throwable>>
[src]

pub fn format<'env>(
    &'env self,
    arg0: impl Into<Option<&'env LogRecord>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

format

Required features: "java-lang-String", "java-util-logging-LogRecord"

pub fn getHead<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getHead

Required features: "java-lang-String", "java-util-logging-Handler"

pub fn getTail<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getTail

Required features: "java-lang-String", "java-util-logging-Handler"

Methods from Deref<Target = Formatter>

pub fn format<'env>(
    &'env self,
    arg0: impl Into<Option<&'env LogRecord>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

format

Required features: "java-lang-String", "java-util-logging-LogRecord"

pub fn getHead<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getHead

Required features: "java-lang-String", "java-util-logging-Handler"

pub fn getTail<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getTail

Required features: "java-lang-String", "java-util-logging-Handler"

pub fn formatMessage<'env>(
    &'env self,
    arg0: impl Into<Option<&'env LogRecord>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

formatMessage

Required features: "java-lang-String", "java-util-logging-LogRecord"

Trait Implementations

impl AsJValue for XMLFormatter

impl AsValidJObjectAndEnv for XMLFormatter

impl Deref for XMLFormatter

type Target = Formatter

The resulting type after dereferencing.

impl JniType for XMLFormatter

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.