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

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

public class LogRecord

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

Methods

impl LogRecord

pub fn new<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Level>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, LogRecord>, Local<'env, Throwable>>
[src]

LogRecord

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

pub fn getLoggerName<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getLoggerName

Required features: "java-lang-String"

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

setLoggerName

Required features: "java-lang-String"

pub fn getResourceBundle<'env>(
    &'env self
) -> Result<Option<Local<'env, ResourceBundle>>, Local<'env, Throwable>>
[src]

getResourceBundle

Required features: "java-util-ResourceBundle"

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

setResourceBundle

Required features: "java-util-ResourceBundle"

pub fn getResourceBundleName<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getResourceBundleName

Required features: "java-lang-String"

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

setResourceBundleName

Required features: "java-lang-String"

pub fn getLevel<'env>(
    &'env self
) -> Result<Option<Local<'env, Level>>, Local<'env, Throwable>>
[src]

getLevel

Required features: "java-util-logging-Level"

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

setLevel

Required features: "java-util-logging-Level"

pub fn getSequenceNumber<'env>(
    &'env self
) -> Result<i64, Local<'env, Throwable>>
[src]

pub fn setSequenceNumber<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getSourceClassName<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getSourceClassName

Required features: "java-lang-String"

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

setSourceClassName

Required features: "java-lang-String"

pub fn getSourceMethodName<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getSourceMethodName

Required features: "java-lang-String"

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

setSourceMethodName

Required features: "java-lang-String"

pub fn getMessage<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getMessage

Required features: "java-lang-String"

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

setMessage

Required features: "java-lang-String"

pub fn getParameters<'env>(
    &'env self
) -> Result<Option<Local<'env, ObjectArray<Object, Throwable>>>, Local<'env, Throwable>>
[src]

getParameters

Required features: "java-lang-Object"

pub fn setParameters<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]

setParameters

Required features: "java-lang-Object"

pub fn getThreadID<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn setThreadID<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getMillis<'env>(&'env self) -> Result<i64, Local<'env, Throwable>>[src]

pub fn setMillis<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getThrown<'env>(
    &'env self
) -> Result<Option<Local<'env, Throwable>>, Local<'env, Throwable>>
[src]

getThrown

Required features: "java-lang-Throwable"

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

setThrown

Required features: "java-lang-Throwable"

Methods from Deref<Target = Object>

pub fn getClass<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getClass

Required features: "java-lang-Class"

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn wait_long<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for LogRecord

impl AsRef<Serializable> for LogRecord

impl AsValidJObjectAndEnv for LogRecord

impl Deref for LogRecord

type Target = Object

The resulting type after dereferencing.

impl JniType for LogRecord

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.